Skip to content

Commit 03ccfd4

Browse files
committed
Attempt to free more disk space
1 parent 6b53cfb commit 03ccfd4

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/ci/scripts/free-disk-space.sh

+17
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,23 @@ printDH "BEFORE CLEAN-UP:"
8888
echo ""
8989

9090

91+
fast_rmdir /usr/local/share/boost || true
92+
fast_rmdir "$AGENT_TOOLSDIRECTORY" || true
93+
fast_rmdir /opt/hostedtoolcache || true
94+
fast_rmdir /usr/local/graalvm || true
95+
fast_rmdir /usr/local/share/powershell || true
96+
fast_rmdir /usr/local/share/chromium || true
97+
fast_rmdir /usr/local/lib/node_modules || true
98+
99+
100+
BEFORE=$(getAvailableSpace)
101+
102+
fast_rmdir /usr/share/swift || true
103+
104+
AFTER=$(getAvailableSpace)
105+
SAVED=$((AFTER-BEFORE))
106+
printSavedSpace $SAVED "Swift"
107+
91108
# Remove Android library
92109
BEFORE=$(getAvailableSpace)
93110

0 commit comments

Comments
 (0)