Skip to content

Commit 7e28cd3

Browse files
authored
Tests for Xcode 15.4 (livekit#399)
1 parent ce1efc1 commit 7e28cd3

File tree

1 file changed

+26
-19
lines changed

1 file changed

+26
-19
lines changed

.github/workflows/testing-matrix.yaml

+26-19
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,29 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
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 }}
2842
timeout-minutes: 30
2943

3044
steps:
@@ -38,7 +52,7 @@ jobs:
3852

3953
- uses: maxim-lobanov/setup-xcode@v1
4054
with:
41-
xcode-version: ${{ matrix.xcode-version }}
55+
xcode-version: ${{ matrix.xcode }}
4256

4357
- name: Xcode Version
4458
run: xcodebuild -version
@@ -49,15 +63,8 @@ jobs:
4963
- name: Download iOS platforms
5064
run: xcodebuild -downloadPlatform iOS
5165

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-
5966
- name: Show Destinations
6067
run: xcodebuild -scheme LiveKit -showdestinations
6168

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

Comments
 (0)