Skip to content

Commit

Permalink
Update clean up disk list
Browse files Browse the repository at this point in the history
  • Loading branch information
pnunna93 committed Aug 16, 2024
1 parent 5721601 commit d58303f
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,17 +117,23 @@ jobs:
- name: Clean up disk space
run: |
sudo df -h
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
sudo rm -rf /opt/hostedtoolcache
sudo df -h
- name: Clean up disk space Ubuntu
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo rm -rf /swapfile
sudo apt-get clean
sudo rm -rf \
/usr/share/dotnet \
/opt/ghc \
"/usr/local/share/boost" \
"$AGENT_TOOLSDIRECTORY" \
/opt/hostedtoolcache \
/opt/google/chrome \
/opt/microsoft/msedge \
/opt/microsoft/powershell \
/opt/pipx \
/usr/lib/mono \
/usr/local/julia* \
/usr/local/lib/android \
/usr/local/lib/node_modules \
/usr/local/share/chromium \
/usr/local/share/powershell \
/usr/share/swift
sudo df -h
- name: Build C++
run: bash .github/scripts/build-rocm.sh
Expand Down

0 comments on commit d58303f

Please sign in to comment.