Skip to content

Commit 012d482

Browse files
Merge branch 'seqan:main' into main
2 parents 0095911 + e6a078c commit 012d482

File tree

239 files changed

+37757
-2424
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

239 files changed

+37757
-2424
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/config/codechecker.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
analyze:
66
- --enable=bugprone
77
- --enable=performance
8+
- --enable=prefix:clang-diagnostic-shadow
89
- --disable=bugprone-easily-swappable-parameters
910
- --disable=cert-dcl58-cpp
1011
- --disable=clang-diagnostic-float-conversion

.github/workflows/README.md

Lines changed: 0 additions & 88 deletions
This file was deleted.

.github/workflows/ci_cmake.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,23 +35,21 @@ 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
54-
uses: actions/checkout@v4
52+
uses: actions/checkout@v6
5553

5654
- name: Configure tests
5755
run: |

.github/workflows/ci_coverage.yml

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -33,25 +33,17 @@ 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
43-
uses: actions/checkout@v4
41+
uses: actions/checkout@v6
4442
with:
4543
fetch-depth: 0
4644

47-
- name: Load ccache
48-
uses: actions/cache@v4
49-
with:
50-
path: /home/runner/.ccache
51-
key: ccache-${{ runner.os }}-${{ github.workflow }}-${{ matrix.compiler }}-${{ github.ref }}-${{ github.run_id }}
52-
restore-keys: |
53-
ccache-${{ runner.os }}-${{ github.workflow }}-${{ matrix.compiler }}-${{ github.ref }}
54-
ccache-${{ runner.os }}-${{ github.workflow }}-${{ matrix.compiler }}
45+
- name: Setup cache
46+
uses: seqan/actions/setup-actions-cache@main
5547

5648
- name: Increase ccache size
5749
run: echo "CCACHE_MAXSIZE=300M" >> "${GITHUB_ENV}"
@@ -81,17 +73,20 @@ jobs:
8173
--filter ${GITHUB_WORKSPACE}/test/include/seqan3/test \
8274
--exclude ${GITHUB_WORKSPACE}/include/seqan3/contrib \
8375
--exclude ${GITHUB_WORKSPACE}/include/seqan3/std \
84-
--exclude-lines-by-pattern '^\s*$' \
85-
--exclude-lines-by-pattern '^\s*};$' \
86-
--exclude-unreachable-branches \
76+
--exclude-lines-by-pattern '^\s*}|^\s*};' \
8777
--exclude-throw-branches \
8878
--exclude-noncode-lines \
79+
--exclude-unreachable-branches \
80+
--merge-mode-functions separate \
8981
-j \
9082
--cobertura \
9183
--output ${GITHUB_WORKSPACE}/build/coverage_report.xml
9284
9385
- name: Submit coverage build
94-
uses: codecov/codecov-action@v3.1.5
86+
uses: codecov/codecov-action@v5.5.1
9587
with:
96-
files: build/coverage_report.xml
88+
disable_search: true
9789
fail_ci_if_error: false
90+
files: build/coverage_report.xml
91+
plugins: noop
92+
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/ci_documentation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ jobs:
3434
steps:
3535
- name: Checkout
3636
if: github.event_name != 'pull_request_target'
37-
uses: actions/checkout@v4
37+
uses: actions/checkout@v6
3838

3939
# pull_request_target does not checkout the merge commit by default
4040
- name: Checkout
4141
if: github.event_name == 'pull_request_target'
42-
uses: actions/checkout@v4
42+
uses: actions/checkout@v6
4343
with:
4444
ref: "refs/pull/${{ github.event.number }}/merge"
4545

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ 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:
3434
- name: Checkout
35-
uses: actions/checkout@v4
35+
uses: actions/checkout@v6
3636

3737
- name: REUSE Compliance Check
38-
uses: fsfe/reuse-action@v5
38+
uses: fsfe/reuse-action@v6
3939

4040
- name: Check Markdown files for doxygen
4141
run: ${{ github.workspace }}/test/scripts/check_markdown_doxygen.sh ${{ github.workspace }}

.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: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -33,34 +33,22 @@ 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
46-
uses: actions/checkout@v4
41+
uses: actions/checkout@v6
4742

48-
- name: Load ccache
49-
uses: actions/cache@v4
50-
with:
51-
path: /home/runner/.ccache
52-
key: ccache-${{ runner.os }}-${{ github.workflow }}-${{ matrix.compiler }}-${{ github.ref }}-${{ github.run_id }}
53-
restore-keys: |
54-
ccache-${{ runner.os }}-${{ github.workflow }}-${{ matrix.compiler }}-${{ github.ref }}
55-
ccache-${{ runner.os }}-${{ github.workflow }}-${{ matrix.compiler }}
43+
- name: Setup cache
44+
uses: seqan/actions/setup-actions-cache@main
5645

5746
- name: Configure tests
5847
run: |
5948
$CXX --version || true
6049
cmake --version || true
6150
mkdir build && cd build
62-
cmake ../test/unit -DCMAKE_BUILD_TYPE=Release \
63-
-DCMAKE_CXX_FLAGS="${{ matrix.cxx_flags }}"
51+
cmake ../test/unit -DCMAKE_BUILD_TYPE=Release
6452
make gtest_main
6553
6654
- name: Build tests

.github/workflows/ci_macos.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ 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
39-
uses: actions/checkout@v4
39+
uses: actions/checkout@v6
4040

4141
- name: Setup toolchain
4242
uses: seqan/actions/setup-toolchain@main

0 commit comments

Comments
 (0)