File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,5 +3,5 @@ cd "${env:GITHUB_WORKSPACE}"
33# allow errors as some files can't be compiled on all platforms
44$oldErrorActio = $ErrorActionPreference
55$ErrorActionPreference = " Continue"
6- git ls- files * .cpp | ForEach-Object - Parallel {clang- tidy - p $env: BUILD_DIR / compile_commands.json $_ } - ThrottleLimit 5 | Tee-Object - Path $ env: TMPDIR / clang- tidy.log
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"
77$ErrorActionPreference = $oldErrorActio
Original file line number Diff line number Diff line change @@ -135,11 +135,11 @@ jobs:
135135 - name : Clang tidy
136136 if : github.event_name != 'pull_request'
137137 run : |
138+ & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c libs/llvm python-modules/pip
138139 & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --run python3 -m pip install clang-html
139- & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c libs/llvm
140140 $env:BUILD_DIR = $(& "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --get buildDir -q opencloud/opencloud-desktop)
141141 & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --run pwsh "${env:GITHUB_WORKSPACE}/.github/workflows/.run-clang-tidy.ps1"
142- & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --run python3 -m clang_html "${env:TMPDIR} /clang-tidy.log" -o "${env:GITHUB_WORKSPACE}/binaries/clang-tidy.html"
142+ & "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --run python3 -m clang_html "$([System.IO.Path]::GetTempPath()) /clang-tidy.log" -o "${env:GITHUB_WORKSPACE}/binaries/clang-tidy.html"
143143
144144 - name : Package
145145 if : matrix.name != 'macos-clang-arm64'
You can’t perform that action at this time.
0 commit comments