Skip to content

Commit

Permalink
mike-lischke#132 Install clang tools v18
Browse files Browse the repository at this point in the history
Signed-off-by: vityaman <vityaman.dev@yandex.ru>
  • Loading branch information
vityaman committed Jul 29, 2024
1 parent ac8cd32 commit 8756dfa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
- name: Install dependencies
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo add-apt-repository -y "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main"
sudo add-apt-repository "deb http://apt.llvm.org/noble/ llvm-toolchain-noble-18 main"
sudo apt update
sudo apt install build-essential
sudo apt install clang-format-17 clang-tidy-17
sudo apt install clang-format-18 clang-tidy-18
- name: Setup ccache
uses: hendrikmuhs/ccache-action@v1.2
Expand All @@ -47,7 +47,7 @@ jobs:
working-directory: ${{github.workspace}}/ports/cpp
run: |
find source test -iname '*.hpp' -o -iname '*.cpp' \
| xargs clang-format-17 -Werror --dry-run \
| xargs clang-format-18 -Werror --dry-run \
--fallback-style=Google --verbose
- name: Configure
Expand Down Expand Up @@ -78,5 +78,5 @@ jobs:
run: |
for file in ${CHANGED_SOURCES}; do
echo "Running Clang-Tidy on file $file..."
time clang-tidy-17 -p build/compile_commands.json $file
time clang-tidy-18 -p build/compile_commands.json $file
done

0 comments on commit 8756dfa

Please sign in to comment.