Skip to content

Update CI for linux and macOS #53

Update CI for linux and macOS

Update CI for linux and macOS #53

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
timeout-minutes: 30
runs-on: macOS-15
env:
DEVELOPER_DIR: /Applications/Xcode_16.1.app
strategy:
matrix:
destination:
- "platform=macOS"
- "platform=macOS,variant=Mac Catalyst"
- "platform=iOS Simulator,name=iPhone 16"
- "platform=tvOS Simulator,name=Apple TV"
- "platform=watchOS Simulator,name=Apple Watch Series 10 (42mm)"
- "platform=visionOS Simulator,name=Apple Vision Pro"
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: Test
run: swift test