From e892b46b6f89f5c55cd0662350fa89bd499be0dd Mon Sep 17 00:00:00 2001 From: Dzmitry Neviadomski Date: Sun, 22 Aug 2021 21:07:49 +0300 Subject: [PATCH] Build Universal binary with GitHub Actions. --- .github/workflows/debug.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml index 7f2a47ec6..a5e875598 100644 --- a/.github/workflows/debug.yml +++ b/.github/workflows/debug.yml @@ -10,7 +10,7 @@ on: jobs: build: - name: Build Cog for Intel + name: Build Universal Cog.app runs-on: macos-11 env: XCODE_DERIVEDDATA_PATH: build @@ -26,9 +26,11 @@ jobs: -project Cog.xcodeproj -scheme Cog -configuration Debug - -destination 'platform=macOS,arch=x86_64' + -arch x86_64 + -arch arm64 -derivedDataPath $XCODE_DERIVEDDATA_PATH CODE_SIGNING_ALLOWED=NO + ONLY_ACTIVE_ARCH=NO build - name: Package archive run: >