-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'refs/remotes/origin/master'
- Loading branch information
Showing
1 changed file
with
17 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,17 @@ | ||
name: Build | ||
on: [push] | ||
jobs: | ||
build: | ||
runs-on: macOS-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: Switch to Xcode 11 | ||
run: sudo xcode-select --switch /Applications/Xcode_11.3.app | ||
# Since we want to be running our tests from Xcode, we need to | ||
# generate an .xcodeproj file. Luckly, Swift Package Manager has | ||
# build in functionality to do so. | ||
- name: Generate xcodeproj | ||
run: swift package generate-xcodeproj | ||
- name: Run tests | ||
run: xcodebuild test -destination 'name=iPhone 11' -scheme 'ConcurrencyKit-Package' |