Skip to content

Commit b65af99

Browse files
feat: print ccache stats for win
1 parent 8d61172 commit b65af99

11 files changed

Lines changed: 22 additions & 0 deletions

.github/workflows/windows_build_x64_asan.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,7 @@ jobs:
5555
--use_cache `
5656
--use_vcpkg `
5757
--use_vcpkg_ms_internal_asset_cache
58+
if ($LASTEXITCODE -ne 0) {
59+
exit $LASTEXITCODE
60+
}
61+
ccache --show-stats -vv

.github/workflows/windows_cuda.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ jobs:
144144
exit $lastExitCode
145145
}
146146
147+
ccache --show-stats -vv
148+
147149
# Clean up the output directory before uploading artifacts
148150
$outputDir = "$env:RUNNER_TEMP\build\RelWithDebInfo"
149151
Write-Host "Cleaning up files from $outputDir..."

.github/workflows/windows_dml.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ jobs:
117117
exit $lastExitCode
118118
}
119119
Remove-Item "${env:GITHUB_WORKSPACE}\RelWithDebInfo" -Include "*.obj" -Recurse
120+
ccache --show-stats -vv
120121
121122
- name: Validate C# native delegates
122123
run: python tools\ValidateNativeDelegateAttributes.py

.github/workflows/windows_openvino.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,10 @@ jobs:
176176
--use_binskim_compliant_compile_flags `
177177
--use_cache `
178178
--use_openvino CPU
179+
if ($LASTEXITCODE -ne 0) {
180+
exit $LASTEXITCODE
181+
}
182+
ccache --show-stats -vv
179183
180184
- name: Run unit tests
181185
shell: pwsh

.github/workflows/windows_qnn_x64.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@ jobs:
8484
--use_binskim_compliant_compile_flags `
8585
--use_cache `
8686
--use_qnn ${env:qnn_kind}
87+
if ($LASTEXITCODE -ne 0) {
88+
exit $LASTEXITCODE
89+
}
90+
ccache --show-stats -vv
8791
8892
- name: Run ONNX Tests
8993
shell: cmd

.github/workflows/windows_tensorrt.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ jobs:
146146
exit $lastExitCode
147147
}
148148
149+
ccache --show-stats -vv
150+
149151
# Clean up the output directory before uploading artifacts
150152
$outputDir = "${env:RUNNER_TEMP}\build\RelWithDebInfo"
151153
Write-Host "Cleaning up files from $outputDir..."

.github/workflows/windows_webgpu.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ jobs:
301301
--use_cache `
302302
--use_external_dawn `
303303
--use_webgpu
304+
ccache --show-stats -vv
304305
305306
- name: Run tests (onnxruntime_webgpu_external_dawn_test)
306307
run: onnxruntime_webgpu_external_dawn_test.exe

.github/workflows/windows_x64_release_build_x64_release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ jobs:
112112
exit $LASTEXITCODE
113113
}
114114
Remove-Item "${env:GITHUB_WORKSPACE}\build\RelWithDebInfo" -Include "*.obj" -Recurse
115+
ccache --show-stats -vv
115116
env:
116117
ALLOW_RELEASED_ONNX_OPSET_ONLY: '0'
117118
DocUpdateNeeded: 'false'

.github/workflows/windows_x64_release_ep_generic_interface_build_x64_release_ep_generic_interface.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ jobs:
104104
exit $LASTEXITCODE
105105
}
106106
Remove-Item "${env:GITHUB_WORKSPACE}\build\RelWithDebInfo" -Include "*.obj" -Recurse
107+
ccache --show-stats -vv
107108
env:
108109
ALLOW_RELEASED_ONNX_OPSET_ONLY: '0'
109110

.github/workflows/windows_x64_release_vitisai_build_x64_release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ jobs:
102102
exit $LASTEXITCODE
103103
}
104104
Remove-Item "${env:GITHUB_WORKSPACE}\build\RelWithDebInfo" -Include "*.obj" -Recurse
105+
ccache --show-stats -vv
105106
env:
106107
ALLOW_RELEASED_ONNX_OPSET_ONLY: '0'
107108

0 commit comments

Comments
 (0)