NetNewsWire/.github/workflows/build.yml

44 lines
1.0 KiB
YAML

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: macOS-latest
strategy:
matrix:
scheme: ['NetNewsWire']
# scheme: ['NetNewsWire', 'NetNewsWire-iOS']
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
- name: Build Version
run: xcodebuild -version
- name: Build Settings
run: xcodebuild -showBuildSettings
- name: Build SDK
run: xcodebuild -showsdks
- name: Show Available Destinations
run: xcodebuild -scheme RSDatabaseiOS -showdestinations
- name: Run Build
# continue-on-error: true
env:
ENCRYPTION_SECRET: ${{ secrets.ENCRYPTION_SECRET }}
KEY_SECRET: ${{ secrets.KEY_SECRET }}
SCHEME: ${{ matrix.scheme }}
run: buildscripts/ci-build.sh
# - name: Check for Crashlog
# run: buildscripts/crash-logs.sh