File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 86
86
CI_VCPKG_TAG : ' 2022.02.23'
87
87
VCPKG_DOWNLOADS : ' C:\Users\ContainerAdministrator\AppData\Local\vcpkg\downloads'
88
88
VCPKG_DEFAULT_BINARY_CACHE : ' C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives'
89
+ CCACHE_DIR : ' C:\Users\ContainerAdministrator\AppData\Local\ccache'
90
+ WRAPPED_CL : ' C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\ci\test\wrapped-cl.bat'
89
91
QT_DOWNLOAD_URL : ' https://download.qt.io/official_releases/qt/5.15/5.15.2/single/qt-everywhere-src-5.15.2.zip'
90
92
QT_LOCAL_PATH : ' C:\qt-everywhere-src-5.15.2.zip'
91
93
QT_SOURCE_DIR : ' C:\qt-everywhere-src-5.15.2'
@@ -135,9 +137,13 @@ task:
135
137
- msbuild -version
136
138
populate_script :
137
139
- mkdir %VCPKG_DEFAULT_BINARY_CACHE%
138
- install_python_script :
140
+ ccache_cache :
141
+ folder : ' %CCACHE_DIR%'
142
+ install_tools_script :
143
+ - choco install --yes --no-progress ccache
139
144
- choco install --yes --no-progress python3 --version=3.9.6
140
145
- pip install zmq
146
+ - ccache --version
141
147
- python -VV
142
148
install_vcpkg_script :
143
149
- cd ..
@@ -149,9 +155,12 @@ task:
149
155
- .\vcpkg integrate install
150
156
- .\vcpkg version
151
157
build_script :
158
+ - ' %x64_NATIVE_TOOLS%'
152
159
- cd %CIRRUS_WORKING_DIR%
160
+ - ccache --zero-stats
153
161
- python build_msvc\msvc-autogen.py
154
- - msbuild build_msvc\bitcoin.sln -property:Configuration=Release -maxCpuCount -verbosity:minimal -noLogo
162
+ - msbuild build_msvc\bitcoin.sln -property:CLToolExe=%WRAPPED_CL% -property:Configuration=Release -maxCpuCount -verbosity:minimal -noLogo
163
+ - ccache --show-stats
155
164
unit_tests_script :
156
165
- src\test_bitcoin.exe -l test_suite
157
166
- src\bench_bitcoin.exe > NUL
Original file line number Diff line number Diff line change
1
+ ccache cl %*
You can’t perform that action at this time.
0 commit comments