mirror of
https://github.com/TASEmulators/desmume.git
synced 2026-10-12 02:09:51 +00:00
CI: Make macOS builds Universal (Based on PR #964.)
- Change to the Universal build for the x86_64, x86_64h, and arm64 binaries using the "macOS App; Universal" build scheme.
- Also add the the xcpretty install step
- Fix artifact name typo ("artifict" → "artifact")
This commit is contained in:
@@ -91,18 +91,21 @@ jobs:
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: install xcpretty
|
||||
run: gem install xcpretty
|
||||
|
||||
- name: xcodebuild
|
||||
run: |
|
||||
cd desmume/src/frontend/cocoa/
|
||||
xcodebuild archive -project "DeSmuME (Latest).xcodeproj" -scheme "DeSmuME (macOS App; Intel64 -- Latest Xcode)" -arch x86_64 -archivePath "$(pwd)/desmume.xcarchive" | xcpretty -c
|
||||
xcodebuild archive -project "DeSmuME (Latest).xcodeproj" -scheme "DeSmuME (macOS App; Universal -- Latest Xcode)" -archivePath "$(pwd)/desmume.xcarchive" | xcpretty -c
|
||||
|
||||
- name: make zip
|
||||
run: |
|
||||
cd desmume/src/frontend/cocoa/desmume.xcarchive/Products/Applications/
|
||||
7z a DeSmuME.app.zip DeSmuME.app
|
||||
|
||||
- name: Upload artifict
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: macos
|
||||
|
||||
Reference in New Issue
Block a user