@@ -16,15 +16,29 @@ jobs:
16
16
strategy :
17
17
fail-fast : false
18
18
matrix :
19
- xcode-version : [14.2, 15.2]
20
- destination :
21
- [
22
- " platform=iOS Simulator,OS=17.2,name=iPhone 14 Pro" ,
23
- " platform=macOS" ,
24
- " platform=macOS,variant=Mac Catalyst" ,
25
- ]
26
-
27
- runs-on : macos-13
19
+ include :
20
+ # https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md
21
+ - os : macos-13
22
+ xcode : 14.2
23
+ platform : " iOS Simulator,OS=17.2,name=iPhone 14 Pro"
24
+ - os : macos-13
25
+ xcode : 14.2
26
+ platform : " macOS"
27
+ - os : macos-13
28
+ xcode : 14.2
29
+ platform : " macOS,variant=Mac Catalyst"
30
+ # https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md
31
+ - os : macos-14
32
+ xcode : 15.4
33
+ platform : " iOS Simulator,OS=17.5,name=iPhone 15 Pro"
34
+ - os : macos-14
35
+ xcode : 15.4
36
+ platform : " macOS"
37
+ - os : macos-14
38
+ xcode : 15.4
39
+ platform : " macOS,variant=Mac Catalyst"
40
+
41
+ runs-on : ${{ matrix.os }}
28
42
timeout-minutes : 30
29
43
30
44
steps :
38
52
39
53
- uses : maxim-lobanov/setup-xcode@v1
40
54
with :
41
- xcode-version : ${{ matrix.xcode-version }}
55
+ xcode-version : ${{ matrix.xcode }}
42
56
43
57
- name : Xcode Version
44
58
run : xcodebuild -version
49
63
- name : Download iOS platforms
50
64
run : xcodebuild -downloadPlatform iOS
51
65
52
- # TODO: Add step to install iOS 13
53
- # - name: Install iOS 13
54
- # run: xcversion simulators --install='iOS 13.0'
55
-
56
- # - name: Download iOS platforms
57
- # run: xcodebuild -downloadPlatform iOS
58
-
59
66
- name : Show Destinations
60
67
run : xcodebuild -scheme LiveKit -showdestinations
61
68
62
- - name : Run All Tests
63
- run : xcodebuild test -scheme LiveKit -destination '${{ matrix.destination }}' -parallel-testing-enabled YES
69
+ - name : Run Tests on ${{ matrix.platform }}
70
+ run : xcodebuild test -scheme LiveKit -destination 'platform= ${{ matrix.platform }}' -parallel-testing-enabled YES
0 commit comments