-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Base run-clang-tidy.sh on run-clang-tidy-cached.cc
This way, only changed files have to be re-processed.
- Loading branch information
Showing
10 changed files
with
44 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1096,18 +1096,21 @@ jobs: | |
submodules: recursive | ||
fetch-depth: 0 | ||
|
||
- name: Use ccache | ||
- name: Use cache | ||
# ccache and cached clang-tidy output. | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
key: clang-tidy-codegen | ||
path: | | ||
/root/.cache | ||
- name: Configure shell | ||
run: | | ||
echo 'PATH=/usr/lib/ccache:'"$PATH" >> $GITHUB_ENV | ||
- name: Prepare source | ||
run: | | ||
make run-cmake-release | ||
make run-cmake-release-with-python | ||
make -j2 -C build GenerateParser | ||
make -j2 -C build GenerateParserListeners | ||
make -j2 -C build GenerateCacheSerializers | ||
|
@@ -1117,4 +1120,5 @@ jobs: | |
run: | | ||
export CLANG_TIDY=clang-tidy-18 | ||
"${CLANG_TIDY}" --version | ||
./.github/bin/run-clang-tidy.sh limited | ||
./.github/bin/run-clang-tidy.sh limited \ | ||
|| ( cat Surlog_clang-tidy.out ; exit 1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters