mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-28 01:49:42 -06:00
let's try it again, but better this time
This commit is contained in:
11
.github/workflows/build-macos.yml
vendored
11
.github/workflows/build-macos.yml
vendored
@ -27,7 +27,10 @@ jobs:
|
||||
configurePreset: release-mac-${{ matrix.arch }}
|
||||
buildPreset: release-mac-${{ matrix.arch }}
|
||||
- name: Compress app bundle
|
||||
run: zip -r -y macOS-${{ matrix.arch }}.zip build/release-mac-${{ matrix.arch }}/melonDS.app
|
||||
shell: bash
|
||||
run: |
|
||||
cd build/release-mac-${{ matrix.arch }}
|
||||
zip -r -y ../../macOS-${{ matrix.arch }}.zip melonDS.app
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
@ -49,10 +52,12 @@ jobs:
|
||||
with:
|
||||
name: macOS-arm64
|
||||
path: arm64
|
||||
- run: find . -type d
|
||||
- run: find .
|
||||
- name: Combine app bundles
|
||||
shell: zsh
|
||||
shell: bash
|
||||
run: |
|
||||
unzip x86_64/*.zip -d x86_64
|
||||
unzip arm64/*.zip -d arm64
|
||||
lipo {x86_64,arm64}/melonDS.app/Contents/MacOS/melonDS -create -output melonDS
|
||||
cp -a arm64/melonDS.app melonDS.app
|
||||
cp melonDS melonDS.app/Contents/MacOS/melonDS
|
||||
|
Reference in New Issue
Block a user