File tree Expand file tree Collapse file tree 2 files changed +20
-3
lines changed Expand file tree Collapse file tree 2 files changed +20
-3
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,24 @@ jobs:
223223 run : |
224224 cd src/ci/citool
225225 CARGO_INCREMENTAL=0 CARGO_TARGET_DIR=../../../build/citool cargo build
226-
226+
227+ - name : Free Diskspace
228+ shell : pwsh
229+ if : contains(matrix.os, 'windows')
230+ run : |
231+ Get-Volume | Out-String | Write-Host
232+ #diskusage /t:500 C:\
233+ $dirs = 'C:\Windows\Installer', 'C:\Program Files\LLVM\bin',
234+ 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\Llvm',
235+ 'C:\rtools45', 'C:\ghcup', 'C:\Program Files (x86)\Android',
236+ 'C:\Program Files\Google\Chrome', 'C:\Program Files (x86)\Microsoft\Edge',
237+ 'C:\Program Files\Mozilla Firefox', 'C:\Program Files\MySQL', 'C:\Julia',
238+ 'C:\Program Files\MongoDB', 'C:\Program Files\Azure Cosmos DB Emulator',
239+ 'C:\Program Files\PostgreSQL', 'C:\Program Files\Unity Hub', 'C:\ProgramData\chocolatey',
240+ 'C:\ProgramData\Package Cache', 'C:\Strawberry', 'C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk'
241+ Remove-Item -Recurse -Force -ErrorAction Continue $dirs
242+ Get-Volume | Out-String | Write-Host
243+
227244 - name : run the build
228245 run : |
229246 set +e
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ runners:
3131 << : *base-job
3232
3333 - &job-windows
34- os : windows-2022
34+ os : windows-2025
3535 << : *base-job
3636
3737 # NOTE: windows-2025 has less disk space available than windows-2022,
@@ -41,7 +41,7 @@ runners:
4141 << : *base-job
4242
4343 - &job-windows-8c
44- os : windows-2022 -8core-32gb
44+ os : windows-2025 -8core-32gb
4545 << : *base-job
4646
4747 - &job-windows-25-8c
You can’t perform that action at this time.
0 commit comments