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