Skip to content

Commit fddd025

Browse files
committed
[CI] Use MacOS universal build instead of arm64.
Also switch to (now available) macOS 11.
1 parent 217e04b commit fddd025

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ jobs:
145145
run: |
146146
./Godot.app/Contents/MacOS/Godot --path test -s script.gd
147147
148-
macos-arm64:
148+
macos-universal:
149149
name: Build (macOS, Clang, cross-compile arm64)
150-
runs-on: macos-latest
150+
runs-on: macos-11
151151
steps:
152152
- name: Checkout
153153
uses: actions/checkout@v2
@@ -165,12 +165,7 @@ jobs:
165165
166166
- name: Build godot-cpp
167167
run: |
168-
# The default SDK in github the actions environemnt seems to have problems compiling for arm64.
169-
# Use the latest 11.x SDK.
170-
SDK_BASE=/Library/Developer/CommandLineTools/SDKs
171-
SDK_VER=$(ls $SDK_BASE | grep "MacOSX11." | sort -r | head -n1)
172-
echo $SDK_BASE/$SDK_VER/
173-
scons target=release generate_bindings=yes macos_arch=arm64 macos_deployment_target=10.15 macos_sdk_path="$SDK_BASE/$SDK_VER/" -j $(sysctl -n hw.logicalcpu)
168+
scons target=release generate_bindings=yes macos_arch=universal -j $(sysctl -n hw.logicalcpu)
174169
175170
static-checks:
176171
name: Static Checks (clang-format)

0 commit comments

Comments
 (0)