File tree Expand file tree Collapse file tree 1 file changed +5
-24
lines changed
Expand file tree Collapse file tree 1 file changed +5
-24
lines changed Original file line number Diff line number Diff line change @@ -17,39 +17,20 @@ jobs:
1717 fail-fast : false
1818 max-parallel : 4
1919 matrix :
20+ platform : [iOS, tvOS]
21+ scheme : [mParticle-Apple-SDK-NoLocation, mParticle-Apple-SDK-Swift]
2022 include :
2123 - platform : iOS
22- scheme : mParticle-Apple-SDK-NoLocation
2324 device : iPhone 16 Pro
24- - platform : iOS
25- scheme : mParticle-Apple-SDK-Swift
26- device : iPhone 16
2725 - platform : tvOS
28- scheme : mParticle-Apple-SDK-NoLocation
2926 device : Apple TV 4K (3rd generation)
30- - platform : tvOS
31- scheme : mParticle-Apple-SDK-Swift
32- device : Apple TV 4K (3rd generation) (at 1080p)
3327 runs-on : macOS-15
3428 steps :
3529 - name : Checkout
3630 uses : actions/checkout@v6
3731
38- - name : Set up Xcode
39- uses : maxim-lobanov/setup-xcode@v1
40- with :
41- xcode-version : ${{ env.XCODE_VERSION }}
42-
43- - name : Setup specified simulator
44- uses : futureware-tech/simulator-action@v4
45- id : simulator
46- with :
47- model : ${{ matrix.device }}
48- os : ${{ matrix.platform }}
49- os_version : " >=18.0"
50- erase_before_boot : true
51- wait_for_boot : true
52- shutdown_after_job : false
32+ - name : Select Xcode
33+ run : sudo xcode-select -s /Applications/Xcode_${{ env.XCODE_VERSION }}.app
5334
5435 - name : Run unit tests
55- run : xcodebuild -project mParticle-Apple-SDK.xcodeproj -scheme ${{ matrix.scheme }} -destination 'id =${{ steps.simulator.outputs.UDID }}' test
36+ run : xcodebuild -project mParticle-Apple-SDK.xcodeproj -scheme ${{ matrix.scheme }} -destination 'platform =${{ matrix.platform }} Simulator,name=${{ matrix.device }},OS=latest ' test
You can’t perform that action at this time.
0 commit comments