Skip to content

Commit

Permalink
Update build_and_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbs authored Feb 23, 2024
1 parent 5abd252 commit a8bcf28
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,18 @@ concurrency:
cancel-in-progress: true
jobs:
build:
name: Build and test
name: Build and Test (Xcode ${{ matrix.xcode }})
runs-on: macos-14
continue-on-error: true
strategy:
matrix:
include:
- xcode: 15.2
device: iPhone 15 Pro
os: 17.2
- xcode: 14.3.1
device: iPhone 15 Pro
os: 17.2
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
steps:
Expand All @@ -40,11 +44,11 @@ jobs:
xcodebuild build-for-testing\
-scheme Runestone\
-sdk iphonesimulator\
-destination "platform=iOS Simulator,name=generic/platform=iOS Simulator,OS=latest"
-destination "platform=iOS Simulator,name=${{ matrix.device }},OS=${{ matrix.os }}"
- name: Test
if: steps.changes.outputs.src == 'true'
run: |
xcodebuild test-without-building\
-scheme Runestone\
-sdk iphonesimulator\
-destination "platform=iOS Simulator,name=generic/platform=iOS Simulator,OS=latest"
-destination "platform=iOS Simulator,name=${{ matrix.device }},OS=${{ matrix.os }}"

0 comments on commit a8bcf28

Please sign in to comment.