Skip to content

Commit 7014b1a

Browse files
Merge branch 'branch-51' into df-51-fix-fixed-size-binary-null-array
2 parents c9443a5 + 388ed32 commit 7014b1a

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/rust.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,21 @@ jobs:
271271
runs-on: ubuntu-latest
272272
container:
273273
image: amd64/rust
274+
volumes:
275+
- /usr/local:/host/usr/local
274276
steps:
277+
- name: Remove unnecessary preinstalled software
278+
run: |
279+
echo "Disk space before cleanup:"
280+
df -h
281+
# remove tool cache: about 8.5GB (github has host /opt/hostedtoolcache mounted as /__t)
282+
rm -rf /__t/* || true
283+
# remove Haskell runtime: about 6.3GB (host /usr/local/.ghcup)
284+
rm -rf /host/usr/local/.ghcup || true
285+
# remove Android library: about 7.8GB (host /usr/local/lib/android)
286+
rm -rf /host/usr/local/lib/android || true
287+
echo "Disk space after cleanup:"
288+
df -h
275289
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
276290
with:
277291
submodules: true

0 commit comments

Comments
 (0)