Modify tree check to be safer and also forwards-compatible #125
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 | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
test: | |
name: Test | |
runs-on: macos-12 | |
strategy: | |
matrix: | |
destination: | |
- "platform=macOS" | |
- "platform=iOS Simulator,name=iPhone 11" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Test platform ${{ matrix.destination }} | |
run: set -o pipefail && xcodebuild -scheme Neon -destination "${{ matrix.destination }}" test | xcpretty |