Skip to content

Commit e55be56

Browse files
committed
Auto merge of #132409 - MarcoIeni:ci-remove-linux-4c-large, r=<try>
CI: remove linux 4 core large runner try-job: mingw-check
2 parents 56c6a2f + b9a27fc commit e55be56

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/ci.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,7 @@ jobs:
110110
# less disk space.
111111
- name: free up disk space
112112
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
113-
if: contains(matrix.os, 'ubuntu')
114-
with:
115-
# Removing packages with APT saves ~5 GiB, but takes several
116-
# minutes (and potentially removes important packages).
117-
large-packages: false
113+
if: matrix.free_disk
118114

119115
# Rust Log Analyzer can't currently detect the PR number of a GitHub
120116
# Actions build on its own, so a hint in the log message is needed to

src/ci/github-actions/jobs.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ runners:
66

77
- &job-linux-4c
88
os: ubuntu-20.04
9+
# Free some disk space to avoid running out of space during the build.
10+
free_disk: true
911
<<: *base-job
1012

1113
# Large runner used mainly for its bigger disk capacity
@@ -159,7 +161,7 @@ auto:
159161
<<: *job-linux-4c-largedisk
160162

161163
- image: dist-loongarch64-musl
162-
<<: *job-linux-4c-largedisk
164+
<<: *job-linux-4c
163165

164166
- image: dist-ohos
165167
<<: *job-linux-4c

0 commit comments

Comments
 (0)