mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-18 20:34:46 +01:00
Add destination to build scripts
This commit is contained in:
parent
e76a4f1d02
commit
bb6901b9c7
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -8,7 +8,9 @@ jobs:
|
||||
runs-on: macOS-latest
|
||||
strategy:
|
||||
matrix:
|
||||
scheme: ['NetNewsWire', 'NetNewsWire-iOS']
|
||||
run-config:
|
||||
- { scheme: 'NetNewsWire', destination: 'platform=macOS'}
|
||||
- { scheme: 'NetNewsWire-iOS', destination: 'platform=iOS Simulator,OS=13.0,name=iPhone 11' }
|
||||
|
||||
steps:
|
||||
- name: Checkout Project
|
||||
@ -35,5 +37,7 @@ jobs:
|
||||
env:
|
||||
ENCRYPTION_SECRET: ${{ secrets.ENCRYPTION_SECRET }}
|
||||
KEY_SECRET: ${{ secrets.KEY_SECRET }}
|
||||
SCHEME: ${{ matrix.scheme }}
|
||||
SCHEME: ${{ matrix.run-config['scheme'] }}
|
||||
DESTINATION: ${{ matrix.run-config['destination'] }}
|
||||
|
||||
run: buildscripts/ci-build.sh
|
@ -31,7 +31,7 @@ rm -f buildscripts/certs/ios-dist.cer
|
||||
rm -f buildscripts/certs/mac-dist.p12
|
||||
|
||||
# Do the build
|
||||
xcodebuild -scheme $SCHEME test -showBuildTimingSummary
|
||||
xcodebuild -scheme $SCHEME test -destination "$DESTINATION" -showBuildTimingSummary
|
||||
|
||||
# Delete the keychain and the provisioningi profile
|
||||
security delete-keychain github-build.keychain
|
||||
|
Loading…
Reference in New Issue
Block a user