Update macOS and iOS CI to use latest devices/OS versions #93
Workflow file for this run
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
name: Test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
linux: | |
name: Linux | |
runs-on: ubuntu-latest | |
container: | |
image: swift:latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Test | |
run: swift test | |
macos: | |
name: macOS & iOS (Xcode) | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Test macOS | |
run: xcodebuild test -scheme SwiftCBOR -destination 'platform=OS X,arch=x86_64' | |
- name: Test iOS | |
run: xcodebuild test -scheme SwiftCBOR -destination 'platform=iOS Simulator,name=iPhone 16 Pro,OS=latest' |