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: Test Nativebrik iOS | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: macos-13 | |
strategy: | |
matrix: | |
scheme: [ | |
NativebrikTests | |
] | |
destination: [ | |
'platform=iOS Simulator,name=iPhone 15,OS=17.0.1' | |
] | |
steps: | |
- name: Install xcbeautify | |
run: brew install xcbeautify | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: '15.0' | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Test ${{ matrix.scheme }} on ${{ matrix.destination }} | |
run: xcodebuild test -project ./ios/Nativebrik/Nativebrik.xcodeproj -scheme ${{ matrix.scheme }} -sdk iphonesimulator -skipMacroValidation -destination '${{ matrix.destination }}' | xcbeautify && exit ${PIPESTATUS[0]} |