summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-07-09 17:21:58 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-07-11 10:01:55 +0200
commit7cb6d6c8467a8b59837edd93f1f16ea6abd7f9a8 (patch)
tree476ce46bcad50747d081b4b85d97d83389a8dca6 /.github
parentc0b31562f51606fc1b1c662e99dffde1044a9583 (diff)
downloadfork-godot-webrtc-native-7cb6d6c8467a8b59837edd93f1f16ea6abd7f9a8.tar.gz
fork-godot-webrtc-native-7cb6d6c8467a8b59837edd93f1f16ea6abd7f9a8.tar.bz2
fork-godot-webrtc-native-7cb6d6c8467a8b59837edd93f1f16ea6abd7f9a8.zip
Add OSX arm64 build.
Needs a more recent revision of godot-cpp, but can still use godot-headers from 3.2 . See CI script update for details.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build_release.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml
index 19a59c9..2ab5787 100644
--- a/.github/workflows/build_release.yml
+++ b/.github/workflows/build_release.yml
@@ -82,6 +82,10 @@ jobs:
arch: 'x64'
sconsflags: 'bits=64'
os: 'macos-latest'
+ - platform: osx
+ arch: 'arm64'
+ sconsflags: 'bits=64 macos_arch=arm64 macos_sdk_path=/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/'
+ os: 'macos-10.15'
# Windows
- platform: windows
@@ -155,6 +159,17 @@ jobs:
platform: ${{ matrix.platform }}
archs: ${{ matrix.arch }}
+ - name: Fix godot-cpp revision and file names for OSX arm64 build.
+ if: ${{ matrix.platform == 'osx' && matrix.arch == 'arm64' }}
+ run: |
+ cd godot-cpp
+ git checkout e08ecdc28c5409cb5366027227e996c342dcee93
+ rm -rf src/gen/
+ rm -rf include/gen/
+ mkdir bin
+ ln -s libgodot-cpp.osx.debug.64.a bin/libgodot-cpp.osx.debug.arm64.a
+ ln -s libgodot-cpp.osx.release.64.a bin/libgodot-cpp.osx.release.arm64.a
+
- name: Compilation ${{ matrix.platform }} - ${{ matrix.arch }} - godot-cpp
run: |
scons -C godot-cpp target=debug generate_bindings=yes