forked from CleverRaven/Cataclysm-DDA
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minimize clang-tidy CI runtime (CleverRaven#50131)
clang-tidy is one of our slowest CI jobs. It would be nice if it were faster. When only cpp files are changed, we can limit the checks to just those files. When a header or build file is changed, or a new check is added, we need to recheck everything. To make this work, update the logic in build.sh which previously prioritised changed files. Make it now only check changed files, provided that's appropriate. Also, make files_changed work correctly on GitHub, at least for PR jobs. It will simply fail on non-PR jobs.
- Loading branch information
Showing
2 changed files
with
45 additions
and
11 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