diff --git a/.github/workflows/test-macos.yml b/.github/workflows/test-macos.yml index 5bcc428958..16730ca0bd 100644 --- a/.github/workflows/test-macos.yml +++ b/.github/workflows/test-macos.yml @@ -57,6 +57,20 @@ 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