Latest Rearrange for platform compatibility #167
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 | |
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)" | |
- "platform=macOS,variant=Mac Catalyst" | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Test platform ${{ matrix.destination }} | |
run: set -o pipefail && xcodebuild -scheme Neon -destination "${{ matrix.destination }}" test | xcbeautify |