From 95ea020128d9bdb51f2b7f292443c4194e2c422d Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Thu, 2 Mar 2023 20:16:16 -0800 Subject: [PATCH] Rename run-clang-tidy to run-clang-tidy-cached. Apparently, there is a script in the llvm distribution that is also called run-clang-tidy, but is just doing parallel execution of clang without caching. So to disambiguate: call this run-clang-tidy-cached.cc Signed-off-by: Henner Zeller --- .github/bin/{run-clang-tidy.cc => run-clang-tidy-cached.cc} | 0 .github/workflows/verible-ci.yml | 6 +++--- .gitignore | 6 ++++-- 3 files changed, 7 insertions(+), 5 deletions(-) rename .github/bin/{run-clang-tidy.cc => run-clang-tidy-cached.cc} (100%) diff --git a/.github/bin/run-clang-tidy.cc b/.github/bin/run-clang-tidy-cached.cc similarity index 100% rename from .github/bin/run-clang-tidy.cc rename to .github/bin/run-clang-tidy-cached.cc diff --git a/.github/workflows/verible-ci.yml b/.github/workflows/verible-ci.yml index 2a791582a..5da4f8960 100644 --- a/.github/workflows/verible-ci.yml +++ b/.github/workflows/verible-ci.yml @@ -101,8 +101,8 @@ jobs: wc -l compile_commands.json echo "::endgroup::" # For runtime references, use clang-tidy 11, everything else: latest. - CLANG_TIDY=clang-tidy-11 ./.github/bin/run-clang-tidy.cc --checks="-*,google-runtime-references" - CLANG_TIDY=clang-tidy-14 ./.github/bin/run-clang-tidy.cc + CLANG_TIDY=clang-tidy-11 ./.github/bin/run-clang-tidy-cached.cc --checks="-*,google-runtime-references" + CLANG_TIDY=clang-tidy-14 ./.github/bin/run-clang-tidy-cached.cc - name: 📤 Upload performance graphs uses: actions/upload-artifact@v2 @@ -408,7 +408,7 @@ jobs: .github/bin/make-compilation-db.sh echo "::endgroup::" # Quick with no checks to be fast (full tidy run in ClangTidy action) - .github/bin/run-clang-tidy.cc --checks="-*" + .github/bin/run-clang-tidy-cached.cc --checks="-*" MacOsBuild: runs-on: macos-latest diff --git a/.gitignore b/.gitignore index 58aec08c2..330da7770 100644 --- a/.gitignore +++ b/.gitignore @@ -2,9 +2,11 @@ /bazel-* tags releasing/out -compile_commands.json coverage-html/ -run-clang-tidy + +compile_commands.json +run-clang-tidy-cached +verible_clang-tidy.out # Local user config .envrc