2019-10-09 00:18:13 +02:00
|
|
|
name: CI
|
|
|
|
|
2019-10-10 18:01:41 +02:00
|
|
|
on: [push, pull_request]
|
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:48:34 +02:00
|
|
|
scheme: ['NetNewsWire', 'NetNewsWire-iOS']
|
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-10 06:40:38 +02:00
|
|
|
|
2019-10-11 19:10:15 +02:00
|
|
|
- name: Build Version
|
|
|
|
run: xcodebuild -version
|
|
|
|
|
|
|
|
- name: Build Settings
|
2019-10-10 06:40:38 +02:00
|
|
|
run: xcodebuild -showBuildSettings
|
2019-10-11 19:10:15 +02:00
|
|
|
|
|
|
|
- name: Build SDK
|
|
|
|
run: xcodebuild -showsdks
|
|
|
|
|
|
|
|
- name: Show Available Destinations
|
2019-10-12 14:50:30 +02:00
|
|
|
run: xcodebuild -scheme NetNewsWire-iOS -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-11 03:06:13 +02:00
|
|
|
SCHEME: ${{ matrix.scheme }}
|
2019-10-12 03:07:23 +02:00
|
|
|
run: buildscripts/ci-build.sh
|