Skip to content

Trying visionOS compatibility #45

Trying visionOS compatibility

Trying visionOS compatibility #45

Workflow file for this run

name: CI
on:
push:
branches:
- main
paths-ignore:
- 'README.md'
- 'CODE_OF_CONDUCT.md'
- '.editorconfig'
- '.spi.yml'
pull_request:
branches:
- main
env:
DEVELOPER_DIR: /Applications/Xcode_15.2.app/Contents/Developer
jobs:
test:
name: Test
runs-on: macos-13
strategy:
matrix:
destination:
- "platform=macOS"
- "platform=iOS Simulator,name=iPhone 15"
- "platform=tvOS Simulator,name=Apple TV"
- "platform=visionOS Simulator,name=Apple Vision Pro"
- "platform=watchOS Simulator,name=Apple Watch Series 6 (40mm)"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Test platform ${{ matrix.destination }}
run: set -o pipefail && xcodebuild -scheme Rearrange -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://swift-server.github.io/swiftly/swiftly-install.sh | bash -s -- -y
- name: Install the latest Swift toolchain
run: swiftly install latest
- name: Test
run: swift test