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 85
85
CI_VCPKG_TAG : ' 2022.02.23'
86
86
VCPKG_DOWNLOADS : ' C:\Users\ContainerAdministrator\AppData\Local\vcpkg\downloads'
87
87
VCPKG_DEFAULT_BINARY_CACHE : ' C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives'
88
+ CCACHE_DIR : ' C:\Users\ContainerAdministrator\AppData\Local\ccache'
89
+ WRAPPED_CL : ' C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\ci\test\wrapped-cl.bat'
88
90
QT_DOWNLOAD_URL : ' https://download.qt.io/official_releases/qt/5.15/5.15.2/single/qt-everywhere-src-5.15.2.zip'
89
91
QT_LOCAL_PATH : ' C:\qt-everywhere-src-5.15.2.zip'
90
92
QT_SOURCE_DIR : ' C:\qt-everywhere-src-5.15.2'
@@ -134,9 +136,13 @@ task:
134
136
- msbuild -version
135
137
populate_script :
136
138
- mkdir %VCPKG_DEFAULT_BINARY_CACHE%
137
- install_python_script :
139
+ ccache_cache :
140
+ folder : ' %CCACHE_DIR%'
141
+ install_tools_script :
142
+ - choco install --yes --no-progress ccache
138
143
- choco install --yes --no-progress python3 --version=3.9.6
139
144
- pip install zmq
145
+ - ccache --version
140
146
- python -VV
141
147
install_vcpkg_script :
142
148
- cd ..
@@ -148,9 +154,12 @@ task:
148
154
- .\vcpkg integrate install
149
155
- .\vcpkg version
150
156
build_script :
157
+ - ' %x64_NATIVE_TOOLS%'
151
158
- cd %CIRRUS_WORKING_DIR%
159
+ - ccache --zero-stats
152
160
- python build_msvc\msvc-autogen.py
153
- - msbuild build_msvc\bitcoin.sln -property:Configuration=Release -maxCpuCount -verbosity:minimal -noLogo
161
+ - msbuild build_msvc\bitcoin.sln -property:CLToolExe=%WRAPPED_CL% -property:Configuration=Release -maxCpuCount -verbosity:minimal -noLogo
162
+ - ccache --show-stats
154
163
unit_tests_script :
155
164
- src\test_bitcoin.exe -l test_suite
156
165
- 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