Skip to content

Commit b9a27fc

Browse files
committed
remove free_some_disk boolean
1 parent ea9be1f commit b9a27fc

File tree

2 files changed

+5
-14
lines changed

2 files changed

+5
-14
lines changed

.github/workflows/ci.yml

+1-8
Original file line numberDiff line numberDiff line change
@@ -108,16 +108,9 @@ jobs:
108108
# we do not need. We do this to enable some of the less resource
109109
# intensive jobs to run on free runners, which however also have
110110
# less disk space.
111-
- name: free up some disk space
112-
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
113-
if: contains(matrix.free_some_disk, true)
114-
with:
115-
# Removing packages with APT saves ~5 GiB, but takes several
116-
# minutes (and potentially removes important packages).
117-
large-packages: false
118111
- name: free up disk space
119112
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
120-
if: contains(matrix.free_disk, true)
113+
if: matrix.free_disk
121114

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

src/ci/github-actions/jobs.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,12 @@ runners:
77
- &job-linux-4c
88
os: ubuntu-20.04
99
# Free some disk space to avoid running out of space during the build.
10-
free_some_disk: true
10+
free_disk: true
1111
<<: *base-job
1212

13+
# Large runner used mainly for its bigger disk capacity
1314
- &job-linux-4c-largedisk
14-
os: ubuntu-20.04
15-
# Free as much disk space as possible to avoid running out of space during the build.
16-
# Only set this if `free_some_disk` is not enough because freeing disk takes time.
17-
free_disk: true
15+
os: ubuntu-20.04-4core-16gb
1816
<<: *base-job
1917

2018
- &job-linux-8c
@@ -163,7 +161,7 @@ auto:
163161
<<: *job-linux-4c-largedisk
164162

165163
- image: dist-loongarch64-musl
166-
<<: *job-linux-4c-largedisk
164+
<<: *job-linux-4c
167165

168166
- image: dist-ohos
169167
<<: *job-linux-4c

0 commit comments

Comments
 (0)