-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from planetary-social/martindsq-patch-1
Create swift.yml
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Swift | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build for iOS | ||
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild build-for-testing -scheme Logger -destination "platform=iOS Simulator,OS=latest,name=iPhone 12" | xcpretty | ||
- name: Run iOS tests | ||
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild test-without-building -scheme Logger -destination "platform=iOS Simulator,OS=latest,name=iPhone 12" | xcpretty |