Skip to content

Commit 0c6066e

Browse files
committed
x86_64-apple-darwin is just bad
1 parent d909598 commit 0c6066e

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/release-bins.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,9 @@ jobs:
2222

2323
# Apple SDK does not allow us to cross compile from non-apple-branded
2424
# machines, so we run that bundle on a macOS runner
25-
# Note: We use macos-13 here since it is the latest version that runs
26-
# on an x86_64-apple-darwin machine
27-
- os: macos-13
25+
- os: macos-latest
2826
bundle: darwin
29-
targets: cross-aarch64-apple-darwin default
27+
targets: cross-aarch64-apple-darwin
3028
runs-on: ${{ matrix.os }}
3129
permissions:
3230
contents: write
@@ -57,12 +55,7 @@ jobs:
5755
run: |
5856
mkdir release
5957
for BUILD_TARGET in ${{ matrix.targets }}; do
60-
# Hack for x86_64-apple-darwin since it doesn't yet work with cross compilation
61-
if [ "$BUILD_TARGET" == "default" ]; then
62-
TARGET="x86_64-apple-darwin"
63-
else
64-
TARGET=${BUILD_TARGET#"cross-"}
65-
fi
58+
TARGET=${BUILD_TARGET#"cross-"}
6659
6760
echo "Scaffolding release for $TARGET..."
6861
mkdir -p "release/$TARGET/dist"

0 commit comments

Comments
 (0)