Skip to content

Commit 8a4d9ee

Browse files
authored
clean up some disk space in the Linux CI runners (#3913)
The Linux amd64 runner is on/over the edge of disk space: Sometimes it fails with no more disk space, sometimes it successfully runs, but just barely: with less than 1 GB of available space. Some numbers, before: The amd64 runner starts with 57 out of 73 GB space used. Before any tests are run, 69 GB are used. After the tests there is 72+ GB used. This PR cleans up 24 GB of space. On the arm64 runner, the initial situation is much better: only 33 out of 73 GB is used. After the tests, 48 GB are used. Not really needed, but this PR cleans up 9 GB of space there.
1 parent 4eacf7d commit 8a4d9ee

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,15 @@ jobs:
6363
- name: Checkout nimbus-eth1
6464
uses: actions/checkout@v4
6565

66+
- name: Clean up disk space
67+
if: runner.os == 'Linux'
68+
run: |
69+
sudo rm -rf /usr/lib/jvm || true
70+
sudo rm -rf /usr/local/.ghcup || true
71+
sudo rm -rf /usr/local/lib/android || true
72+
sudo rm -rf /usr/share/dotnet || true
73+
sudo rm -rf /usr/share/swift || true
74+
6675
- id: shared-action
6776
uses: ./.github/actions/shared
6877
with:

0 commit comments

Comments
 (0)