[OSX] Add universal build support.

This commit is contained in:
Fabio Alessandrelli
2021-09-29 22:19:36 +02:00
parent ad11bbb584
commit 67f9109d1f
2 changed files with 16 additions and 9 deletions

View File

@@ -116,13 +116,13 @@ jobs:
- name: Build godot-cpp
run: |
scons target=release generate_bindings=yes -j $(sysctl -n hw.logicalcpu)
scons target=release generate_bindings=yes macos_arch=x86_64 -j $(sysctl -n hw.logicalcpu)
- name: Upload artifact
uses: actions/upload-artifact@v2
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
macos-arm64: