Skip to content

Commit

Permalink
Update clang-tidy-review.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
anigamova authored Nov 29, 2024
1 parent 16f5351 commit 26f97f2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/clang-tidy-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- '**.h'
- '**.cc'
- '**.cpp'
- '**.cxx'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
Expand Down Expand Up @@ -37,12 +38,14 @@ jobs:
with:
build_dir: build
apt_packages: cmake,libxml2,libxml2-dev,libtinfo-dev,zlib1g-dev,libzstd-dev
exclude: "test/*,unittests/*,benchmark/*,demos/*"
exclude: "test/*"
split_workflow: true
config_file: .clang-tidy
cmake_command: >
CC=$GITHUB_WORKSPACE/llvm/bin/clang CXX=$GITHUB_WORKSPACE/llvm/bin/clang++
cmake -DCMAKE_INSTALL_PREFIX=../install -DINSTALL_PYTHON=FALSE -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..
cmake -DCMAKE_INSTALL_PREFIX=../install -DINSTALL_PYTHON=FALSE -DLLVM_DIR="$GITHUB_WORKSPACE/llvm"
-DClang_DIR="$GITHUB_WORKSPACE/llvm" -DCMAKE_BUILD_TYPE="Release" -DLLVM_EXTERNAL_LIT="`which lit`"
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..
- name: Upload artifacts
uses: ZedThree/clang-tidy-review/[email protected]

0 comments on commit 26f97f2

Please sign in to comment.