Skip to content

Commit

Permalink
ci(clang-tidy): setup clang and libc++ before linting
Browse files Browse the repository at this point in the history
  • Loading branch information
es3n1n committed Oct 9, 2024
1 parent d5fdb6d commit ce4173c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/clang-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@ jobs:
lgtm_comment_body: ''
build_dir: 'build'
clang_tidy_version: 18
cmake_command: 'cmake . -B build -DCOMMON_BUILD_TESTS=ON -DCOMMON_BUILD_BENCHMARKS=ON -DCMKR_SKIP_GENERATION=ON -DCMAKE_EXPORT_COMPILE_COMMANDS=ON'
cmake_command: |
wget https://apt.llvm.org/llvm.sh &&
chmod +x llvm.sh &&
./llvm.sh 19 &&
apt-get install -yq --no-install-recommends libc++-19-dev libc++abi-19-dev cmake &&
cmake . -B build -DCOMMON_BUILD_TESTS=ON -DCOMMON_BUILD_BENCHMARKS=ON -DCMKR_SKIP_GENERATION=ON -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
- uses: ZedThree/clang-tidy-review/upload@v0.19.0
id: upload-review
Expand Down

0 comments on commit ce4173c

Please sign in to comment.