Skip to content

Commit

Permalink
Rename run-clang-tidy to run-clang-tidy-cached.
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
hzeller committed Mar 3, 2023
1 parent 4437c43 commit 95ea020
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions .github/workflows/verible-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 95ea020

Please sign in to comment.