diff --git a/src/ci/scripts/free-disk-space.sh b/src/ci/scripts/free-disk-space.sh index f5081d3dea662..c7f206b8fe4a9 100755 --- a/src/ci/scripts/free-disk-space.sh +++ b/src/ci/scripts/free-disk-space.sh @@ -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)