-
-
Notifications
You must be signed in to change notification settings - Fork 587
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add macOS ARM64 (Apple Silicon) support.
- Loading branch information
Showing
3 changed files
with
42 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -128,18 +128,18 @@ jobs: | |
- name: Build godot-cpp | ||
run: | | ||
scons target=release generate_bindings=yes -j $(sysctl -n hw.logicalcpu) | ||
scons target=release macos_arch=x86_64 generate_bindings=yes -j $(sysctl -n hw.logicalcpu) | ||
- name: Upload artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: godot-cpp-macos-x86_64-release | ||
path: bin/libgodot-cpp.osx.release.64.a | ||
path: bin/libgodot-cpp.osx.release.x86_64.a | ||
if-no-files-found: error | ||
|
||
- name: Build test GDNative library | ||
run: | | ||
scons target=release platform=osx bits=64 -j $(sysctl -n hw.logicalcpu) -C test | ||
scons target=release platform=osx macos_arch=x86_64 -j $(sysctl -n hw.logicalcpu) -C test | ||
- name: Run test GDNative library | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters