Skip to content

Commit

Permalink
Merge pull request #5 from bachand/mb--robustify-ci
Browse files Browse the repository at this point in the history
Build for iOS simulator and tvOS simulators in CI
  • Loading branch information
bachand authored Aug 22, 2020
2 parents d9e8b81 + 3ee5ae2 commit 9771451
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,20 @@ jobs:

steps:
- uses: actions/checkout@v1
- name: Build debug
- name: Build Swift package, debug
# Build strictly
run: swift build -v -c debug --disable-automatic-resolution
- name: Build release
- name: Build Swift package, release
# Build strictly
run: swift build -v -c release --disable-automatic-resolution
- name: Run tests
run: swift test -v

- name: Build for iOS
run: xcodebuild -scheme BachandNetworking -destination 'platform=iOS Simulator,OS=13.6,name=iPhone 11 Pro'
- name: Build for macOS
run: xcodebuild -scheme BachandNetworking -destination 'platform=macOS,variant=Mac Catalyst'
- name: Build for tvOS
run: xcodebuild -scheme BachandNetworking -destination 'platform=tvOS Simulator,OS=13.4,name=Apple TV 4K'
- name: Build for watchOS
run: echo 'Do nothing until watchOS supports XCTest'

0 comments on commit 9771451

Please sign in to comment.