File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212concurrency :
1313 group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1414 cancel-in-progress : true
15- env :
16- DEVELOPER_DIR : /Applications/Xcode_15.0.1.app/Contents/Developer
1715jobs :
1816 build :
1917 name : Build and test
2018 runs-on : macos-13
19+ continue-on-error : true
20+ strategy :
21+ matrix :
22+ include :
23+ - destination : iPhone 15 Pro
24+ xcode : 15.0.1
25+ - destination : iPhone 14 Pro
26+ xcode : 14.3.1
27+ env :
28+ DEVELOPER_DIR : /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
2129 steps :
2230 - name : Checkout
2331 uses : actions/checkout@v3
@@ -28,10 +36,10 @@ jobs:
2836 xcodebuild build-for-testing\
2937 -scheme Runestone\
3038 -sdk iphonesimulator\
31- -destination "platform=iOS Simulator,name=iPhone 15 Pro ,OS=latest"
39+ -destination "platform=iOS Simulator,name=${{ matrix.destination }} ,OS=latest"
3240 - name : Test
3341 run : |
3442 xcodebuild test-without-building\
3543 -scheme Runestone\
3644 -sdk iphonesimulator\
37- -destination "platform=iOS Simulator,name=iPhone 15 Pro ,OS=latest"
45+ -destination "platform=iOS Simulator,name=${{ matrix.destination }} ,OS=latest"
Original file line number Diff line number Diff line change 1010concurrency :
1111 group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1212 cancel-in-progress : true
13- env :
14- DEVELOPER_DIR : /Applications/Xcode_15.0.1.app/Contents/Developer
1513jobs :
1614 build :
1715 name : Build example project
1816 runs-on : macos-13
17+ continue-on-error : true
18+ strategy :
19+ matrix :
20+ include :
21+ - destination : iPhone 15 Pro
22+ xcode : 15.0.1
23+ - destination : iPhone 14 Pro
24+ xcode : 14.3.1
25+ env :
26+ DEVELOPER_DIR : /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
1927 steps :
2028 - name : Checkout
2129 uses : actions/checkout@v3
2735 -project Example/Example.xcodeproj\
2836 -scheme Example\
2937 -sdk iphonesimulator\
30- -destination "platform=iOS Simulator,name=iPhone 15 Pro ,OS=latest"
38+ -destination "platform=iOS Simulator,name=${{ matrix.destination }} ,OS=latest"
You can’t perform that action at this time.
0 commit comments