From 03ccfd403e8e841b6bf8751e6b6b409e58132107 Mon Sep 17 00:00:00 2001 From: Chris White Date: Wed, 11 Dec 2024 23:14:05 +0000 Subject: [PATCH] Attempt to free more disk space --- src/ci/scripts/free-disk-space.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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)