Skip to content

Commit

Permalink
Create swift.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrusingraham authored Mar 5, 2020
1 parent 3da8347 commit 3499b3b
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/swift.yml
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

0 comments on commit 3499b3b

Please sign in to comment.