Skip to content

Commit 700d02c

Browse files
committed
[INFRA] Update CI
1 parent bbae8da commit 700d02c

17 files changed

+53
-131
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: a75b1e95-134c-4ada-adac-5846045f188e
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,20 +35,18 @@ jobs:
3535
matrix:
3636
include:
3737
- name: "Non-cyclic tests"
38-
compiler: "gcc-14"
38+
compiler: "gcc-latest"
3939
build: unit
4040
use_include_dependencies: "ON"
4141
cmake_depends_use_compiler: "OFF"
4242

4343
- name: "External project"
44-
compiler: "gcc-14"
44+
compiler: "gcc-latest"
4545
build: external_project
4646
use_include_dependencies: "OFF"
4747
cmake_depends_use_compiler: "ON"
4848
container:
4949
image: ghcr.io/seqan/${{ matrix.compiler }}
50-
volumes:
51-
- /home/runner:/home/runner
5250
steps:
5351
- name: Checkout
5452
uses: actions/checkout@v4

.github/workflows/ci_coverage.yml

Lines changed: 8 additions & 8 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,18 +73,20 @@ jobs:
7573
--filter ${GITHUB_WORKSPACE}/test/include/seqan3/test \
7674
--exclude ${GITHUB_WORKSPACE}/include/seqan3/contrib \
7775
--exclude ${GITHUB_WORKSPACE}/include/seqan3/std \
78-
--exclude-lines-by-pattern '^\s*$' \
79-
--exclude-lines-by-pattern '^\s*};$' \
80-
--exclude-unreachable-branches \
76+
--exclude-lines-by-pattern '^\s*}|^\s*};' \
8177
--exclude-throw-branches \
8278
--exclude-noncode-lines \
79+
--exclude-unreachable-branches \
8380
--merge-mode-functions separate \
8481
-j \
8582
--cobertura \
8683
--output ${GITHUB_WORKSPACE}/build/coverage_report.xml
8784
8885
- name: Submit coverage build
89-
uses: codecov/codecov-action@v3.1.5
86+
uses: codecov/codecov-action@v5.4.3
9087
with:
91-
files: build/coverage_report.xml
88+
disable_search: true
9289
fail_ci_if_error: false
90+
files: build/coverage_report.xml
91+
plugins: noop
92+
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/ci_license.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ defaults:
2727
jobs:
2828
check:
2929
name: REUSE Compliance
30-
runs-on: ubuntu-22.04
30+
runs-on: ubuntu-latest
3131
timeout-minutes: 120
3232
if: github.repository_owner == 'seqan' || github.event_name == 'workflow_dispatch' || github.event.label.name == 'lint'
3333
steps:

.github/workflows/ci_lint.yml

Lines changed: 12 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -16,67 +16,26 @@ defaults:
1616

1717
jobs:
1818
# Cancel other workflows that are dependent on this workflow by adding jobs that have the same concurrency group.
19-
cancel_linux:
20-
name: Cancel running Workflows
19+
cancel_running_workflows:
20+
name: Cancel ${{ matrix.workflow}}
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
workflow: ["linux", "macos", "misc", "coverage", "cmake", "documentation"]
2125
concurrency:
22-
group: linux-${{ github.event.pull_request.number }}
26+
group: ${{ matrix.workflow }}-${{ github.event.pull_request.number }}
2327
cancel-in-progress: true
24-
runs-on: ubuntu-22.04
28+
runs-on: ubuntu-latest
2529
steps:
26-
- name: "Cancel Linux"
27-
run: echo "Cancelling Linux"
28-
cancel_macos:
29-
name: Cancel running Workflows
30-
concurrency:
31-
group: macos-${{ github.event.pull_request.number }}
32-
cancel-in-progress: true
33-
runs-on: ubuntu-22.04
34-
steps:
35-
- name: "Cancel macOS"
36-
run: echo "Cancelling macOS"
37-
cancel_misc:
38-
name: Cancel running Workflows
39-
concurrency:
40-
group: misc-${{ github.event.pull_request.number }}
41-
cancel-in-progress: true
42-
runs-on: ubuntu-22.04
43-
steps:
44-
- name: "Cancel Misc"
45-
run: echo "Cancelling Misc"
46-
cancel_coverage:
47-
name: Cancel running Workflows
48-
concurrency:
49-
group: coverage-${{ github.event.pull_request.number }}
50-
cancel-in-progress: true
51-
runs-on: ubuntu-22.04
52-
steps:
53-
- name: "Cancel Coverage"
54-
run: echo "Cancelling Coverage"
55-
cancel_cmake:
56-
name: Cancel running Workflows
57-
concurrency:
58-
group: cmake-${{ github.event.pull_request.number }}
59-
cancel-in-progress: true
60-
runs-on: ubuntu-22.04
61-
steps:
62-
- name: "Cancel CMake"
63-
run: echo "Cancelling CMake"
64-
cancel_documentation:
65-
name: Cancel running Workflows
66-
concurrency:
67-
group: documentation-${{ github.event.pull_request.number }}
68-
cancel-in-progress: true
69-
runs-on: ubuntu-22.04
70-
steps:
71-
- name: "Cancel Documentation"
72-
run: echo "Cancelling Documentation"
30+
- name: "Cancel ${{ matrix.workflow }}"
31+
run: echo "Cancelling ${{ matrix.workflow }}"
7332
lint:
7433
name: Lint
7534
concurrency:
7635
group: lint-${{ github.event.pull_request.number }}
7736
cancel-in-progress: true
78-
needs: [cancel_linux, cancel_macos, cancel_misc, cancel_coverage, cancel_cmake, cancel_documentation]
79-
runs-on: ubuntu-22.04
37+
needs: cancel_running_workflows
38+
runs-on: ubuntu-latest
8039
timeout-minutes: 15
8140
steps:
8241
- name: Run lint

.github/workflows/ci_linux.yml

Lines changed: 2 additions & 8 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
@@ -53,8 +48,7 @@ jobs:
5348
$CXX --version || true
5449
cmake --version || true
5550
mkdir build && cd build
56-
cmake ../test/unit -DCMAKE_BUILD_TYPE=Release \
57-
-DCMAKE_CXX_FLAGS="${{ matrix.cxx_flags }}"
51+
cmake ../test/unit -DCMAKE_BUILD_TYPE=Release
5852
make gtest_main
5953
6054
- name: Build tests

.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 & 7 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", "performance", "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
@@ -53,7 +48,6 @@ jobs:
5348
run: |
5449
mkdir build && cd build
5550
cmake ../test/${{ matrix.build }} -DCMAKE_BUILD_TYPE=Release \
56-
-DCMAKE_CXX_FLAGS="${{ matrix.cxx_flags }}" \
5751
-DSEQAN3_BENCHMARK_MIN_TIME=0.01s
5852
case "${{ matrix.build }}" in
5953
snippet) make gtest_main;;

.github/workflows/ci_update_cookbook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ defaults:
2323
jobs:
2424
update-cookbook:
2525
name: Update Cookbook
26-
runs-on: ubuntu-22.04
26+
runs-on: ubuntu-latest
2727
if: github.repository_owner == 'seqan'
2828
timeout-minutes: 15
2929
steps:

.github/workflows/cron_api.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,17 @@ 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
4341

4442
- name: Configure tests
4543
run: |
4644
mkdir build && cd build
47-
cmake ../test/api_stability -DCMAKE_BUILD_TYPE=Release \
48-
-DCMAKE_CXX_FLAGS="${{ matrix.cxx_flags }}"
45+
cmake ../test/api_stability -DCMAKE_BUILD_TYPE=Release
4946
5047
- name: Build tests
5148
working-directory: build

0 commit comments

Comments
 (0)