Skip to content

Commit a0266f4

Browse files
committed
fix: CI 'no space left on device' issue
------ > exporting to docker image format: ------ ------ > importing to docker: ------ ERROR: failed to build: failed to solve: rpc error: code = Unknown desc = write /root/.rustup/toolchains/1.87.0-x86_64-unknown-linux-gnu/lib/rustlib/aarch64-unknown-linux-gnu/lib/libgimli-605c467c05f27091.rlib: no space left on device Reference Check build summary support Error: buildx failed with: ERROR: failed to build: failed to solve: rpc error: code = Unknown desc = write /root/.rustup/toolchains/1.87.0-x86_64-unknown-linux-gnu/lib/rustlib/aarch64-unknown-linux-gnu/lib/libgimli-605c467c05f27091.rlib: no space left on device
1 parent da6de7b commit a0266f4

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/devel.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ jobs:
3131
uses: actions/checkout@v4
3232
with:
3333
fetch-depth: 1
34+
# https://github.com/actions/runner-images/issues/2840
35+
- name: Free disk space
36+
run: |
37+
sudo rm -rf /opt/ghc
38+
sudo rm -rf /usr/share/dotnet
39+
sudo rm -rf /usr/local/lib/android
40+
sudo rm -rf "/usr/local/share/boost"
3441
-
3542
name: Cache Docker layers
3643
uses: actions/cache@v4
@@ -125,6 +132,13 @@ jobs:
125132
uses: actions/checkout@v4
126133
with:
127134
fetch-depth: 1
135+
# https://github.com/actions/runner-images/issues/2840
136+
- name: Free disk space
137+
run: |
138+
sudo rm -rf /opt/ghc
139+
sudo rm -rf /usr/share/dotnet
140+
sudo rm -rf /usr/local/lib/android
141+
sudo rm -rf "/usr/local/share/boost"
128142
-
129143
name: Cache Docker layers
130144
uses: actions/cache@v4

0 commit comments

Comments
 (0)