Use Xcode 16.1 to try to get catalyst to work #11
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: CI | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- 'README.md' | |
- 'CODE_OF_CONDUCT.md' | |
- '.editorconfig' | |
- '.spi.yml' | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
name: Test | |
runs-on: macOS-14 | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_16.1_beta_2.app | |
strategy: | |
matrix: | |
destination: | |
- "platform=macOS" | |
- "platform=macOS,variant=Mac Catalyst" | |
- "platform=iOS Simulator,name=iPhone 15" | |
- "platform=tvOS Simulator,name=Apple TV" | |
- "platform=watchOS Simulator,name=Apple Watch Series 9 (41mm)" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Test platform ${{ matrix.destination }} | |
run: set -o pipefail && xcodebuild -scheme Lock -destination "${{ matrix.destination }}" test | xcbeautify | |
linux_test: | |
name: Test Linux | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install swiftly | |
run: curl -L https://swiftlang.github.io/swiftly/swiftly-install.sh | bash -s -- -y | |
- name: Install the latest Swift toolchain | |
run: swiftly install latest | |
- name: Test | |
run: swift test |