-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3da8347
commit 3499b3b
Showing
1 changed file
with
30 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,30 @@ | ||
name: Swift | ||
|
||
on: [ push, pull_request ] | ||
|
||
jobs: | ||
spm: | ||
name: SwiftPM build and test | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build swift packages | ||
run: swift build -v | ||
- name: Run tests | ||
run: swift test -v | ||
carthage: | ||
name: Xcode project build and test | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build xcode project | ||
run: xcodebuild build -scheme 'SubprocessMocks' -derivedDataPath .build | ||
- name: Run tests | ||
run: xcodebuild test -scheme 'Subprocess' -derivedDataPath .build | ||
cocoapods: | ||
name: Cocoapod | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Spec lint | ||
run: pod spec lint --verbose |