From 32bddcc3bf15e7d0dd6bf376ffbc60cef446dd6b Mon Sep 17 00:00:00 2001 From: shinyobjectz Date: Wed, 11 Nov 2026 01:02:22 -0800 Subject: [PATCH] release.yml: room for the macOS build. rc4's macOS job ran out of disk linking raea-page-host (ld: write() failed, errno=28): rc3's build had left 576 MB of macos-15's 320 GB free, and rc4's dSYMs (#88) took the rest. Before the build, the Mac job removes the image's Xcodes other than the selected one, and the Android and .NET SDKs, in parallel, printing the free space before and after --- .github/workflows/release.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a19144b3..fbb2707f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,6 +75,18 @@ jobs: curl -fsSL "$url" -o "$HOME/.local/share/raea-models/$path" echo "$sha $HOME/.local/share/raea-models/$path" | shasum -a 256 -c - done < tools/release/models.tsv + # rc3's build left 576 MB of macos-15's 320 GB free, and rc4's dSYMs (#88) ran it out linking raea-page-host + # (ld: write() failed, errno=28): the image's other Xcodes and the Android and .NET SDKs go first + - name: Room for the build + if: runner.os == 'macOS' + run: | + df -h . | tail -1 + keep=$(cd "$(xcode-select -p)/../.." && pwd -P) + for x in /Applications/Xcode*.app; do [ -L "$x" ] || [ "$(cd "$x" && pwd -P)" = "$keep" ] || sudo rm -rf "$x" & done + sudo rm -rf "$HOME/Library/Android" "$HOME/.dotnet" /usr/local/share/dotnet & + wait + echo "kept $keep" + df -h . | tail -1 - name: Build run: | feat=$(bash tools/bevy-plugins.sh features sdk/raea/bench/bevy-plugins)