Skip to content

Commit

Permalink
moderize CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmassicotte committed Nov 21, 2023
1 parent f6faed6 commit 2eaa632
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,31 @@ 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-latest
runs-on: macOS-13
strategy:
matrix:
destination:
- "platform=macOS"
- "platform=iOS Simulator,name=iPhone 11"
- "platform=iOS Simulator,name=iPhone 12"

steps:
- uses: actions/checkout@v2
- 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 | xcpretty
run: set -o pipefail && xcodebuild -scheme TextFormation -destination "${{ matrix.destination }}" test | xcbeautify --renderer github-actions

0 comments on commit 2eaa632

Please sign in to comment.