Merge pull request #207 from SubmarinerApp/playlist-model-rewrite #289
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Note that builds a not-really-signed executable. | |
# OK for testing, not so hot for distribution. | |
# Find out a better way. | |
name: Git Release | |
# XXX: other criteria? | |
on: [push] | |
jobs: | |
build: | |
runs-on: macos-12 | |
env: | |
XCODE_DERIVEDDATA_PATH: build | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Install xcpretty | |
run: gem install xcpretty --no-document --quiet | |
- name: Build Executable | |
run: xcodebuild build -configuration Release -project Submariner.xcodeproj -scheme Submariner -arch x86_64 -arch arm64 -derivedDataPath $XCODE_DERIVEDDATA_PATH CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= | xcpretty -c | |
- name: Package Release | |
run: ditto -c -k --sequesterRsrc --keepParent "$XCODE_DERIVEDDATA_PATH/Build/Products/Release/Submariner.app" "$XCODE_DERIVEDDATA_PATH/Submariner.zip" | |
- name: Archive Release | |
# XXX: best action type? | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Submariner | |
path: ${{ env.XCODE_DERIVEDDATA_PATH }}/Submariner.zip |