Skip to content

Merge pull request #207 from SubmarinerApp/playlist-model-rewrite #289

Merge pull request #207 from SubmarinerApp/playlist-model-rewrite

Merge pull request #207 from SubmarinerApp/playlist-model-rewrite #289

Workflow file for this run

# 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