From 2a819403db36a585fa5b1a268196f46e47d2be1f Mon Sep 17 00:00:00 2001 From: Luke Usher Date: Wed, 29 Nov 2023 16:23:36 +0000 Subject: [PATCH] ci: pass local=false and build=optimised to macos builds Fixes an issue where release builds for macOS were optimised for the compiling machine rather than for distribution. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 319bf61752..e936b2d4ab 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -112,7 +112,7 @@ jobs: run: ${MAKE:-make} -j4 -C desktop-ui build=optimized local=false compiler="${{ matrix.platform.compiler }}" windres="${{ matrix.platform.windres }}" - name: "macOS: Make universal app" if: runner.os == 'macOS' - run: scripts/macos-make-universal.sh + run: scripts/macos-make-universal.sh build=optimized local=false env: MAKEFLAGS: -j3 MACOS_CERTIFICATE_NAME: ${{ secrets.MACOS_CERTIFICATE_NAME }}