From f0af5f9982ea231eeeb92b4329178ea24e75e219 Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Tue, 23 May 2023 13:17:41 +0200 Subject: [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. --- .github/workflows/build_release.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to '.github/workflows') 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 -- cgit v1.2.3