Skip to content

Commit

Permalink
Merge pull request #2812 from fermyon/clear-room-macos-ci
Browse files Browse the repository at this point in the history
Delete some unused stuff on macOS runner to avoid out of storage errors
  • Loading branch information
rylev authored Sep 9, 2024
2 parents ba32722 + 4e84a0c commit 57b1e54
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,22 @@ jobs:
rust-cache: true
nomad: true

- name: Check disk space (Before)
run: df -h /

# Clear space on macOS runner which is prone to running out of space
- name: Free disk space
run: |
sudo rm -rf ~/.dotnet
sudo rm -rf /Library/Android
sudo rm -rf /Library/Developer/CoreSimulator
find /Applications -name "Xcode_*" -maxdepth 1 -mindepth 1 | xargs rm -rf
continue-on-error: true
if: ${{ matrix.runner == 'macos-14' }}

- name: Check disk space (After)
run: df -h /

- name: Run Unit Tests
run: |
make test-unit
Expand Down

0 comments on commit 57b1e54

Please sign in to comment.