Skip to content

Commit 332e134

Browse files
Auto merge of #144137 - ChrisDenton:diskspace, r=<try>
dnm: dskusg try-job: x86_64-msvc-1
2 parents 8231065 + 476ce9b commit 332e134

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,22 @@ jobs:
9898
# Check the `calculate_matrix` job to see how is the matrix defined.
9999
include: ${{ fromJSON(needs.calculate_matrix.outputs.jobs) }}
100100
steps:
101+
- name: Diskspace
102+
shell: pwsh
103+
run: |
104+
Get-Volume > '\\.\CON'
105+
#diskusage /t:500 C:\
106+
$dirs = 'C:\Windows\Installer', 'C:\Program Files\LLVM\bin',
107+
'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\Llvm',
108+
'C:\rtools45', 'C:\ghcup', 'C:\Program Files\WSL', 'C:\Program Files (x86)\Android',
109+
'C:\Program Files\Google\Chrome', 'C:\Program Files (x86)\Microsoft\Edge',
110+
'C:\Program Files\Mozilla Firefox', 'C:\Program Files\MySQL', 'C:\Julia',
111+
'C:\Program Files\MongoDB', 'C:\Program Files\Azure Cosmos DB Emulator',
112+
'C:\Program Files\PostgreSQL', 'C:\Program Files\Unity Hub', 'C:\ProgramData\chocolatey',
113+
'C:\ProgramData\Package Cache', 'C:\Strawberry', 'C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk'
114+
Remove-Item -Recurse -Force -ErrorAction Continue $dirs
115+
Get-Volume > '\\.\CON'
116+
exit 1
101117
- name: Install cargo in AWS CodeBuild
102118
if: matrix.codebuild
103119
run: |

src/ci/github-actions/jobs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)