diff --git a/.github/workflows/pants.yaml b/.github/workflows/pants.yaml index be52acbb..a2913773 100644 --- a/.github/workflows/pants.yaml +++ b/.github/workflows/pants.yaml @@ -32,6 +32,19 @@ jobs: sudo rm -rf /usr/share/dotnet sudo rm -rf /usr/local/lib/android sudo rm -rf /opt/ghc + sudo rm -rf "/usr/local/share/boost" + sudo apt-get remove -y '^dotnet-.*' + sudo apt-get remove -y '^llvm-.*' + sudo apt-get remove -y 'php.*' + sudo apt-get remove -y '^mongodb-.*' + sudo apt-get remove -y '^mysql-.*' + sudo apt-get remove -y azure-cli google-cloud-sdk google-chrome-stable firefox powershell mono-devel libgl1-mesa-dri + sudo apt-get autoremove -y + sudo apt-get clean + sudo rm -rf "$AGENT_TOOLSDIRECTORY" + sudo swapoff -a + sudo rm -f /mnt/swapfile + free -h echo echo "=== After pruning ===" df -h