NetNewsWire/.github/workflows/build.yml

52 lines
1.3 KiB
YAML
Raw Normal View History

2019-10-09 00:18:13 +02:00
name: CI
on:
push:
branches:
- master
- mac-candidate
- mac-release
- ios-candidate
- ios-release
2019-10-09 00:18:13 +02:00
jobs:
build:
runs-on: macOS-latest
2019-10-11 03:02:50 +02:00
strategy:
matrix:
2019-10-12 14:56:39 +02:00
run-config:
- { scheme: 'NetNewsWire', destination: 'platform=macOS'}
- { scheme: 'NetNewsWire-iOS', destination: 'platform=iOS Simulator,OS=13.0,name=iPhone 11' }
2019-10-09 00:18:13 +02:00
steps:
- name: Checkout Project
uses: actions/checkout@v1
with:
submodules: recursive
- name: Switch to Xcode 11
run: sudo xcode-select -s /Applications/Xcode_11.app
2019-10-12 23:58:45 +02:00
- name: Show Build Version
run: xcodebuild -version
2019-10-12 23:58:45 +02:00
- name: Show Build Settings
run: xcodebuild -showBuildSettings
2019-10-12 23:58:45 +02:00
- name: Show Build SDK
run: xcodebuild -showsdks
- name: Show Available Destinations
2019-10-12 15:05:37 +02:00
env:
scheme: ${{ matrix.run-config['scheme'] }}
run: xcodebuild -scheme ${scheme} -showdestinations
2019-10-09 00:18:13 +02:00
- name: Run Build
env:
ENCRYPTION_SECRET: ${{ secrets.ENCRYPTION_SECRET }}
KEY_SECRET: ${{ secrets.KEY_SECRET }}
2019-10-12 14:56:39 +02:00
SCHEME: ${{ matrix.run-config['scheme'] }}
DESTINATION: ${{ matrix.run-config['destination'] }}
2019-10-12 03:07:23 +02:00
run: buildscripts/ci-build.sh