Skip to content

Commit

Permalink
Attempt to free more disk space
Browse files Browse the repository at this point in the history
  • Loading branch information
whiteio committed Dec 11, 2024
1 parent 6b53cfb commit 03ccfd4
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/ci/scripts/free-disk-space.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,23 @@ printDH "BEFORE CLEAN-UP:"
echo ""


fast_rmdir /usr/local/share/boost || true
fast_rmdir "$AGENT_TOOLSDIRECTORY" || true
fast_rmdir /opt/hostedtoolcache || true
fast_rmdir /usr/local/graalvm || true
fast_rmdir /usr/local/share/powershell || true
fast_rmdir /usr/local/share/chromium || true
fast_rmdir /usr/local/lib/node_modules || true


BEFORE=$(getAvailableSpace)

fast_rmdir /usr/share/swift || true

AFTER=$(getAvailableSpace)
SAVED=$((AFTER-BEFORE))
printSavedSpace $SAVED "Swift"

# Remove Android library
BEFORE=$(getAvailableSpace)

Expand Down

0 comments on commit 03ccfd4

Please sign in to comment.