Skip to content

Commit 356f43c

Browse files
committed
ci: free runner disk before the default-lane build
Three runs died on 'No space left on device' + lld Bus error during the full workspace test build. Drop preinstalled SDKs (dotnet, Android, ghc, CodeQL) we never use.
1 parent a75ab5c commit 356f43c

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ jobs:
2424
runs-on: ubuntu-latest
2525
steps:
2626
- uses: actions/checkout@v4
27+
# The full workspace debug build (all test binaries) overflows the
28+
# default runner disk — three runs died on "No space left on device"
29+
# with lld Bus errors. Drop the preinstalled SDKs we never use.
30+
- name: Free runner disk space
31+
run: |
32+
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL
33+
df -h /
2734
- uses: dtolnay/rust-toolchain@stable
2835
with:
2936
components: clippy

0 commit comments

Comments
 (0)