diff --git a/.github/workflows/macos_build.yml b/.github/workflows/macos_build.yml index ba8a41ae95..6301df30d7 100644 --- a/.github/workflows/macos_build.yml +++ b/.github/workflows/macos_build.yml @@ -25,6 +25,10 @@ on: required: false type: boolean default: false + bundleMacOSUI: + required: false + type: boolean + default: false sign_and_notarize: required: false type: boolean @@ -163,6 +167,16 @@ jobs: run: | mv build/pcsx2*/ARMSX2.app ARMSX2.app + - name: Build ARMSX2 macOS UI Bundle + if: ${{ inputs.bundleMacOSUI == true || inputs.bundleMacOSUI == 'true' }} + run: | + BACKEND_APP_SOURCE="$PWD/ARMSX2.app" \ + REQUIRE_BACKEND=1 \ + SKIP_CODESIGN=1 \ + ./scripts/build-macos-ui.sh + rm -rf ARMSX2.app + mv "build-macos-ui/ARMSX2-MacOS 2.1.app" ARMSX2.app + - name: Pull the Signing Keys and Notarization Credentials if: ${{ inputs.sign_and_notarize == true && env.SIGN_KEY }} run: | diff --git a/.github/workflows/macos_build_matrix.yml b/.github/workflows/macos_build_matrix.yml index 5bb603a010..dee716a8ed 100644 --- a/.github/workflows/macos_build_matrix.yml +++ b/.github/workflows/macos_build_matrix.yml @@ -15,6 +15,7 @@ jobs: with: jobName: "MacOS arm64 Build" artifactPrefixName: "ARMSX2-macos-Qt-arm64" + bundleMacOSUI: true # Notarization needs the APPLE_* repo secrets; it is skipped automatically # when they are absent (see the `env.SIGN_KEY` guard in macos_build.yml). sign_and_notarize: true