Skip to content

Commit

Permalink
test removing unused software before running CI
Browse files Browse the repository at this point in the history
  • Loading branch information
erwulff committed Nov 19, 2024
1 parent 50ed580 commit fef3f5c
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,29 @@ on:
workflow_dispatch:

jobs:
remove-unneeded-software:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- run: |
sudo rm -rf \
"$AGENT_TOOLSDIRECTORY" \
/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/dotnet \
/usr/share/swift
deps-torch:
runs-on: ubuntu-22.04
needs: [remove-unneeded-software]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand Down

0 comments on commit fef3f5c

Please sign in to comment.