Skip to content

Commit

Permalink
ci: reclaim disk space on macOS GHA runner
Browse files Browse the repository at this point in the history
  • Loading branch information
UlisesGascon committed Sep 12, 2024
1 parent 13e695f commit 9e7264f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,18 @@ jobs:
# information.)
- name: tools/doc/node_modules workaround
run: make tools/doc/node_modules
# This is needed due to https://github.com/nodejs/build/issues/3878
- name: Cleanup
run: |
echo "::group::Free space before cleanup"
df -h
echo "::endgroup::"
echo "::group::Cleaned Files"
sudo rm -rfv /Users/runner/Library/Android/sdk
echo "::endgroup::"
echo "::group::Free space after cleanup"
df -h
echo "::endgroup::"
- name: Build
run: make build-ci -j$(getconf _NPROCESSORS_ONLN) V=1 CONFIG_FLAGS="--error-on-warn"
- name: Test
Expand Down

0 comments on commit 9e7264f

Please sign in to comment.