Skip to content

Cleanup operation that runs on startup #292

Cleanup operation that runs on startup

Cleanup operation that runs on startup #292

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