Skip to content

Commit 33fc59b

Browse files
authored
Merge pull request #62 from filecoin-project/mikers/rm-gh-dirs
FIX: rm folders for gh action disk space
2 parents d055105 + b7540a3 commit 33fc59b

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/main.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,31 @@ jobs:
4646
- name: Build Contracts
4747
run: make build
4848

49+
- name: Clean up disk space
50+
run: |
51+
df -h
52+
rm -rf /usr/share/dotnet
53+
rm -rf /opt/ghc
54+
rm -rf "/usr/local/share/boost"
55+
rm -rf "$AGENT_TOOLSDIRECTORY"
56+
rm -rf /usr/local/lib/android
57+
rm -rf /opt/hostedtoolcache
58+
rm -rf /__t/CodeQL
59+
df -h
60+
du -h / | sort -h |tail -n 50
61+
62+
4963
- name: Compilation
5064
run: |
5165
cd testing
5266
rustup target add wasm32-unknown-unknown
5367
cargo build
5468
69+
- name: Check disk space
70+
run: |
71+
df -h
72+
du -h / | sort -h |tail -n 50
73+
5574
- name: Test-Account
5675
run: cd testing && cargo test account -- --nocapture
5776

0 commit comments

Comments
 (0)