Skip to content

Commit

Permalink
Fix clang tidy run failure in PR checks
Browse files Browse the repository at this point in the history
  • Loading branch information
vaithak authored and vgvassilev committed Jun 2, 2024
1 parent 8039520 commit 4f6edec
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/clang-tidy-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
uses: actions/checkout@v4

- name: Install LLVM and Clang
uses: KyleMayes/[email protected].2
uses: KyleMayes/[email protected].3
with:
version: "16.0.0"
version: "17.0.6"

- name: install lit
run: pip install lit
Expand All @@ -37,7 +37,9 @@ jobs:
apt_packages: cmake,libxml2,libxml2-dev,libtinfo-dev,zlib1g-dev,libzstd-dev
exclude: "test/*,unittests/*,benchmark/*,demos/*"
split_workflow: true
config_file: .clang-tidy
cmake_command: >
CC=$GITHUB_WORKSPACE/llvm/bin/clang CXX=$GITHUB_WORKSPACE/llvm/bin/clang++
cmake . -B build -DLLVM_DIR="$GITHUB_WORKSPACE/llvm"
-DClang_DIR="$GITHUB_WORKSPACE/llvm"
-DCMAKE_BUILD_TYPE="Release"
Expand Down

0 comments on commit 4f6edec

Please sign in to comment.