Skip to content

Commit

Permalink
Modernize CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmassicotte committed Nov 15, 2023
1 parent 7fcf248 commit 12a0054
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,28 @@ 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-12
runs-on: macos-13
strategy:
matrix:
destination:
- "platform=macOS"
- "platform=iOS Simulator,name=iPhone 11"
- "platform=iOS Simulator,name=iPhone 12"

steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/checkout@v4
- name: Install XCBeautify
run: brew install xcbeautify
- name: Test platform ${{ matrix.destination }}
run: set -o pipefail && xcodebuild -scheme Neon -destination "${{ matrix.destination }}" test | xcpretty
run: set -o pipefail && xcodebuild -scheme Neon -destination "${{ matrix.destination }}" test | xcbeautify --renderer github-actions

0 comments on commit 12a0054

Please sign in to comment.