moderize CI #75
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.0.1.app/Contents/Developer | |
jobs: | |
test: | |
name: Test | |
runs-on: macOS-13 | |
strategy: | |
matrix: | |
destination: | |
- "platform=macOS" | |
- "platform=iOS Simulator,name=iPhone 12" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install XCBeautify | |
run: brew install xcbeautify | |
- name: Test platform ${{ matrix.destination }} | |
run: set -o pipefail && xcodebuild -scheme TextFormation -destination "${{ matrix.destination }}" test | xcbeautify --renderer github-actions |