From 6a5f5649d2549337456391f672749213118a5b50 Mon Sep 17 00:00:00 2001 From: mcbarton <150042563+mcbarton@users.noreply.github.com> Date: Sun, 2 Jun 2024 17:58:53 +0100 Subject: [PATCH] Fix clang tidy workflow --- .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 ecbe34e19..0d85bc021 100644 --- a/.github/workflows/clang-tidy-review.yml +++ b/.github/workflows/clang-tidy-review.yml @@ -23,9 +23,9 @@ jobs: python-version: "3.11" - name: Install LLVM and Clang - uses: KyleMayes/install-llvm-action@v2.0.2 + uses: KyleMayes/install-llvm-action@v2.0.3 with: - version: "16.0.0" + version: "17.0.6" - name: install lit run: pip install lit @@ -37,8 +37,11 @@ jobs: build_dir: build apt_packages: cmake,libxml2,libxml2-dev,libtinfo-dev,zlib1g-dev,libzstd-dev split_workflow: true + config_file: .clang-tidy cmake_command: > cmake . -B build -DCMAKE_BUILD_TYPE="Release" + -DCMAKE_C_COMPILER="$GITHUB_WORKSPACE/llvm/bin/clang" + -DCMAKE_CXX_COMPILER="$GITHUB_WORKSPACE/llvm/bin/clang++" -DUSE_CLING=OFF -DUSE_REPL=ON -DLLVM_DIR="$GITHUB_WORKSPACE/llvm"