chore: bump maximum clang tested to 20 (#5692)

This commit is contained in:
Henry Schreiner
2025-05-25 10:54:05 -04:00
committed by GitHub
parent 9d06626521
commit 1dd85ef42a
18 changed files with 57 additions and 35 deletions

View File

@@ -38,23 +38,17 @@ jobs:
# in .github/CONTRIBUTING.md and update as needed.
name: Clang-Tidy
runs-on: ubuntu-latest
container: silkeh/clang:18-bookworm
container: silkeh/clang:20
steps:
- uses: actions/checkout@v4
- name: Install requirements
run: apt-get update && apt-get install -y git python3-dev python3-pytest
run: apt-get update && apt-get install -y git python3-dev python3-pytest ninja-build
- name: Configure
run: >
cmake -S . -B build
-DCMAKE_CXX_CLANG_TIDY="$(which clang-tidy);--use-color;--warnings-as-errors=*"
-DDOWNLOAD_EIGEN=ON
-DDOWNLOAD_CATCH=ON
-DCMAKE_CXX_STANDARD=17
run: cmake --preset tidy
- name: Build
run: cmake --build build -j 2 -- --keep-going
run: cmake --build --preset tidy
- name: Embedded
run: cmake --build build -t cpptest -j 2 -- --keep-going
run: cmake --build --preset tidy -t cpptest