Skip to content

Add some availability guards to fix iOS builds #27

Add some availability guards to fix iOS builds

Add some availability guards to fix iOS builds #27

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
jobs:
test:
name: Test
runs-on: macOS-14
env:
DEVELOPER_DIR: /Applications/Xcode_15.3.app/Contents/Developer
strategy:
matrix:
destination:
- "platform=macOS"
- "platform=macOS,variant=Mac Catalyst"
- "platform=iOS Simulator,name=iPhone 12"
- "platform=tvOS Simulator,name=Apple TV"
- "platform=watchOS Simulator,name=Apple Watch Series 6 (40mm)"
- "platform=visionOS Simulator,name=Apple Vision Pro"
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Test platform ${{ matrix.destination }}
run: set -o pipefail && xcodebuild -scheme ThemePark -destination "${{ matrix.destination }}" test | xcbeautify