From 26f97f2659145d47546496420ba1754a96857f71 Mon Sep 17 00:00:00 2001 From: Aliya Nigamova Date: Fri, 29 Nov 2024 15:04:35 +0100 Subject: [PATCH] Update clang-tidy-review.yml --- .github/workflows/clang-tidy-review.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/clang-tidy-review.yml b/.github/workflows/clang-tidy-review.yml index a91dbb3da02..e7f018faf41 100644 --- a/.github/workflows/clang-tidy-review.yml +++ b/.github/workflows/clang-tidy-review.yml @@ -7,6 +7,7 @@ on: - '**.h' - '**.cc' - '**.cpp' + - '**.cxx' concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number }} @@ -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/upload@v0.18.0