Skip to content

Commit

Permalink
iOS CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ianthetechie committed Nov 11, 2023
1 parent 0c3fa25 commit 362efa8
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: iOS CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
test:
runs-on: macos-13
strategy:
matrix:
scheme: [
FerrostarCore-Package
]
destination: [
# TODO: Add more destinations
'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 repo
uses: actions/checkout@v3

- name: Test ${{ matrix.scheme }} on ${{ matrix.destination }}
run: xcodebuild -scheme ${{ matrix.scheme }} test -skipMacroValidation -destination '${{ matrix.destination }}' | xcbeautify && exit ${PIPESTATUS[0]}

0 comments on commit 362efa8

Please sign in to comment.