Skip to content

Commit

Permalink
feat: support pr test,and support x86_64
Browse files Browse the repository at this point in the history
Signed-off-by: samzong <[email protected]>
  • Loading branch information
samzong committed Oct 22, 2024
1 parent 0f02bcb commit feff622
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,24 @@ jobs:

- name: Build
run: |
xcodebuild clean build \
-project MacMusicPlayer.xcodeproj \
-scheme MacMusicPlayer \
-archivePath $PWD/build/MacMusicPlayer.xcarchive \
-configuration Release \
-sdk macosx \
-destination 'generic/platform=macOS,name=Any Mac' \
CODE_SIGN_IDENTITY="" \
CODE_SIGNING_REQUIRED=NO \
ONLY_ACTIVE_ARCH=NO \
ARCHS="x86_64 arm64"
xcodebuild clean archive \
-project MacMusicPlayer.xcodeproj \
-scheme MacMusicPlayer \
-archivePath $PWD/build/MacMusicPlayer.xcarchive \
-configuration Release
CODE_SIGN_IDENTITY="" \
CODE_SIGNING_REQUIRED=NO \
ONLY_ACTIVE_ARCH=NO \
ARCHS="arm64 x86_64"
- name: Create app
run: |
xcodebuild -exportArchive \
-archivePath $PWD/build/MacMusicPlayer.xcarchive \
-exportOptionsPlist exportOptions.plist \
-exportPath $PWD/build/export
-exportPath $PWD/build/export \
ONLY_ACTIVE_ARCH=NO \
ARCHS="arm64 x86_64"
- name: Prepare for DMG
run: |
Expand Down

0 comments on commit feff622

Please sign in to comment.