Skip to content

Commit

Permalink
Delete more of unused toolchains from CI machines (#1194)
Browse files Browse the repository at this point in the history
  • Loading branch information
robert3005 authored Nov 4, 2024
1 parent 9d762d2 commit dd64480
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
21 changes: 16 additions & 5 deletions .github/actions/cleanup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,19 @@ runs:
- name: Cleanup workers
shell: bash
run: |
sudo rm -rf /usr/share/dotnet || true
sudo rm -rf /opt/ghc || true
sudo rm -rf "/usr/local/share/boost" || true
sudo rm -rf "$AGENT_TOOLSDIRECTORY" || true
sudo rm -rf /usr/local/lib/android || true
sudo rm -rf \
"$AGENT_TOOLSDIRECTORY" \
/opt/google/chrome \
/opt/microsoft/msedge \
/opt/microsoft/powershell \
/opt/pipx \
/opt/ghc \
/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
df -h /
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ jobs:
- name: Rust Build (Default features)
run: cargo build --all-targets

- name: Clean cargo to keep disk usage below limit
run: cargo clean

- name: Rust Build (All Features)
run: cargo build --all-features --all-targets

Expand Down

0 comments on commit dd64480

Please sign in to comment.