summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2023-05-23 13:17:41 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2023-05-24 00:53:28 +0200
commitf0af5f9982ea231eeeb92b4329178ea24e75e219 (patch)
treec2f2f63ef668235dae9b6db98e27028c067c591c /.github/workflows
parentfbe4e06b9f3491db19351762e553d0fd08c9845e (diff)
downloadfork-godot-webrtc-native-f0af5f9982ea231eeeb92b4329178ea24e75e219.tar.gz
fork-godot-webrtc-native-f0af5f9982ea231eeeb92b4329178ea24e75e219.tar.bz2
fork-godot-webrtc-native-f0af5f9982ea231eeeb92b4329178ea24e75e219.zip
[macOS] Add support for universal builds.
Since the OpenSSL build system does not support macOS universal binaries, we first need to build the two libraries separately, then we join them together using lipo.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build_release.yml12
1 files changed, 3 insertions, 9 deletions
diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml
index d6a9350..9047da3 100644
--- a/.github/workflows/build_release.yml
+++ b/.github/workflows/build_release.yml
@@ -84,17 +84,11 @@ jobs:
# macOS
- platform: macos
- arch: 'x86_64'
- gdnative_flags: 'macos_arch=x86_64 bits=64'
- sconsflags: ''
- os: 'macos-11'
- cache-name: macos-x86_64
- - platform: macos
- gdnative_flags: 'macos_arch=arm64 bits=64'
- arch: 'arm64'
+ arch: 'universal'
+ gdnative_flags: 'macos_arch=universal bits=64'
sconsflags: ''
os: 'macos-11'
- cache-name: macos-arm64
+ cache-name: macos-universal
# Windows
- platform: windows