Skip to content

Commit

Permalink
ci/clang-analyze: bump clang version and fix status-bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Mar 11, 2024
1 parent 66d3d1c commit 3a7eed0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/clang-analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
- name: Install clang-tools
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo add-apt-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-15 main"
sudo apt-get update && sudo apt-get install -y clang-tools-15
sudo add-apt-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main"
sudo apt-get update && sudo apt-get install -y clang-tools-17
- name: analyze
run: |
cmake -B build -DCMAKE_C_COMPILER=clang-15
analyze-build-15 --cdb build/compile_commands.json
cmake -B build -DCMAKE_C_COMPILER=clang-17
analyze-build-17 --cdb build/compile_commands.json --status-bugs

0 comments on commit 3a7eed0

Please sign in to comment.