Skip to content

Commit

Permalink
clang-tidy.yml: updated to Clang 19 (#359)
Browse files Browse the repository at this point in the history
* clang-tidy.yml: updated to Clang 19

* .clang-tidy: disabled `boost-use-ranges` check
  • Loading branch information
firewave authored Aug 7, 2024
1 parent 74273cd commit 76368ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Checks: >
-objc-*,
-openmp-*,
-zircon-*,
-boost-use-ranges,
-bugprone-branch-clone,
-bugprone-easily-swappable-parameters,
-bugprone-narrowing-conversions,
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/clang-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ jobs:
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 18
sudo apt-get install clang-tidy-18
sudo ./llvm.sh 19
sudo apt-get install clang-tidy-19
- name: Verify clang-tidy configuration
run: |
clang-tidy-18 --verify-config
clang-tidy-19 --verify-config
- name: Prepare CMake
run: |
cmake -S . -B cmake.output -G "Unix Makefiles" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DDISABLE_CPP03_SYNTAX_CHECK=ON
env:
CXX: clang-18
CXX: clang-19

- name: Clang-Tidy
run: |
run-clang-tidy-18 -q -j $(nproc) -p=cmake.output
run-clang-tidy-19 -q -j $(nproc) -p=cmake.output

0 comments on commit 76368ec

Please sign in to comment.