Skip to content

Commit be113bc

Browse files
authored
Merge pull request seqan#277 from eseiler/infra/ci
[INFRA] Update CI
2 parents fd0d5b2 + a8f1f1f commit be113bc

File tree

12 files changed

+27
-40
lines changed

12 files changed

+27
-40
lines changed

.codecov.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
# See https://docs.codecov.io/docs/codecovyml-reference
66
codecov:
7-
token: b5e588e8-7b85-46f1-bad6-e0a5c19d7d67
87
require_ci_to_pass: no # codecov reports its results independent of whether CI passed
98
notify:
109
wait_for_ci: no # codecov has not to wait until the CI is finished to post its results

.github/workflows/ci_cmake.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ jobs:
3535
matrix:
3636
SHARG_NO_TDL: [ON, OFF]
3737
container:
38-
image: ghcr.io/seqan/gcc-14
39-
volumes:
40-
- /home/runner:/home/runner
38+
image: ghcr.io/seqan/gcc-latest
4139
steps:
4240
- name: Checkout
4341
uses: actions/checkout@v4
@@ -47,7 +45,7 @@ jobs:
4745
- name: Install dependencies
4846
if: matrix.SHARG_NO_TDL == 'OFF'
4947
run: |
50-
git clone --depth 1 --single-branch --branch 0.8.0 https://github.com/jbeder/yaml-cpp.git
48+
git clone --depth 1 --single-branch --branch master https://github.com/jbeder/yaml-cpp.git
5149
cd yaml-cpp && mkdir build && cd build
5250
cmake ../ -DCMAKE_BUILD_TYPE=Debug \
5351
-DYAML_CPP_BUILD_CONTRIB=OFF \

.github/workflows/ci_coverage.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,9 @@ jobs:
3333
strategy:
3434
fail-fast: false
3535
matrix:
36-
compiler: ["gcc-14"]
36+
compiler: ["gcc-latest"]
3737
container:
3838
image: ghcr.io/seqan/${{ matrix.compiler }}
39-
volumes:
40-
- /home/runner:/home/runner
4139
steps:
4240
- name: Checkout
4341
uses: actions/checkout@v4
@@ -75,17 +73,20 @@ jobs:
7573
--filter ${GITHUB_WORKSPACE}/test/include/sharg/test \
7674
--exclude ${GITHUB_WORKSPACE}/include/sharg/contrib \
7775
--exclude ${GITHUB_WORKSPACE}/include/sharg/std \
78-
--exclude-lines-by-pattern '^\s*$' \
79-
--exclude-lines-by-pattern '^\s*};$' \
80-
--exclude-unreachable-branches \
81-
--exclude-throw-branches \
76+
--exclude-lines-by-pattern '^\s*}|^\s*};' \
8277
--exclude-noncode-lines \
78+
--exclude-throw-branches \
79+
--exclude-unreachable-branches \
80+
--merge-mode-functions separate \
8381
-j \
8482
--cobertura \
8583
--output ${GITHUB_WORKSPACE}/build/coverage_report.xml
8684
8785
- name: Submit coverage build
88-
uses: codecov/codecov-action@v3.1.5
86+
uses: codecov/codecov-action@v5.4.3
8987
with:
90-
files: build/coverage_report.xml
88+
disable_search: true
9189
fail_ci_if_error: false
90+
files: build/coverage_report.xml
91+
plugins: noop
92+
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/ci_linux.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,9 @@ jobs:
3333
strategy:
3434
fail-fast: false
3535
matrix:
36-
compiler: ["clang-19", "clang-18", "clang-17", "gcc-14", "gcc-13", "gcc-12", "intel"]
37-
include:
38-
- compiler: "intel"
39-
cxx_flags: "-fp-model=strict -Wno-overriding-option"
36+
compiler: ["clang-latest", "clang-second-latest", "clang-third-latest", "gcc-latest", "gcc-second-latest", "gcc-third-latest", "intel"]
4037
container:
4138
image: ghcr.io/seqan/${{ matrix.compiler }}
42-
volumes:
43-
- /home/runner:/home/runner
4439
steps:
4540
- name: Checkout
4641
uses: actions/checkout@v4

.github/workflows/ci_macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ defaults:
2828
jobs:
2929
build:
3030
name: ${{ matrix.compiler }}
31-
runs-on: macos-14
31+
runs-on: macos-latest
3232
if: github.repository_owner == 'seqan' || github.event_name == 'workflow_dispatch' || github.event.label.name == 'lint'
3333
strategy:
3434
fail-fast: false
3535
matrix:
36-
compiler: ["clang-19", "clang-18", "clang-17", "gcc-14", "gcc-13", "gcc-12"]
36+
compiler: ["clang-latest", "clang-second-latest", "clang-third-latest", "gcc-latest", "gcc-second-latest", "gcc-third-latest"]
3737
steps:
3838
- name: Checkout
3939
uses: actions/checkout@v4

.github/workflows/ci_misc.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,10 @@ jobs:
3333
strategy:
3434
fail-fast: false
3535
matrix:
36-
compiler: ["clang-19", "gcc-14", "gcc-12", "intel"]
36+
compiler: ["clang-latest", "gcc-latest", "gcc-third-latest", "intel"]
3737
build: ["snippet", "header"]
38-
include:
39-
- compiler: "intel"
40-
cxx_flags: "-fp-model=strict -Wno-overriding-option"
4138
container:
4239
image: ghcr.io/seqan/${{ matrix.compiler }}
43-
volumes:
44-
- /home/runner:/home/runner
4540
steps:
4641
- name: Checkout
4742
uses: actions/checkout@v4
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,9 @@ jobs:
3232
strategy:
3333
fail-fast: false
3434
matrix:
35-
compiler: ["gcc-14", "gcc-13", "gcc-12"]
35+
compiler: ["gcc-latest", "gcc-second-latest", "gcc-third-latest"]
3636
container:
3737
image: ghcr.io/seqan/${{ matrix.compiler }}
38-
volumes:
39-
- /home/runner:/home/runner
4038
steps:
4139
- name: Checkout
4240
uses: actions/checkout@v4

.github/workflows/cron_codeql.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ concurrency:
1515

1616
env:
1717
SHARG_NO_VERSION_CHECK: 1
18+
CODEQL_EXTRACTOR_CPP_AUTOINSTALL_DEPENDENCIES: false
1819
TZ: Europe/Berlin
1920

2021
defaults:
@@ -29,9 +30,7 @@ jobs:
2930
permissions:
3031
security-events: write
3132
container:
32-
image: ghcr.io/seqan/gcc-14
33-
volumes:
34-
- /home/runner:/home/runner
33+
image: ghcr.io/seqan/gcc-second-latest
3534
steps:
3635
- name: Checkout
3736
uses: actions/checkout@v4

0 commit comments

Comments
 (0)