File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 1- cd " ${env: GITHUB_WORKSPACE} "
2-
3- # allow errors as some files can't be compiled on all platforms
4- $oldErrorActio = $ErrorActionPreference
5- $ErrorActionPreference = " Continue"
6- git ls- files * .cpp | ForEach-Object - Parallel {clang- tidy - p $env: BUILD_DIR / compile_commands.json $_ } - ThrottleLimit 5 | Tee-Object - Path " $ ( [System.IO.Path ]::GetTempPath()) /clang-tidy.log"
7- $ErrorActionPreference = $oldErrorActio
1+ run- clang- tidy - p " $env: BUILD_DIR " | Tee-Object - Path " $ ( [System.IO.Path ]::GetTempPath()) /clang-tidy.log"
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ jobs:
164164
165165 - name : Clang tidy
166166 # disable for now
167- if : ${{ false && github.event_name != 'pull_request' }}
167+ if : ${{ true || github.event_name != 'pull_request' }}
168168 run : |
169169 & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c libs/llvm python-modules/pip
170170 & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --run python3 -m pip install clang-html
You can’t perform that action at this time.
0 commit comments