Skip to content

Commit a167201

Browse files
committed
Create testing-matrix.yaml
1 parent 75e98d5 commit a167201

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

.github/workflows/testing-matrix.yaml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Testing Matrix
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
pull_request:
7+
8+
jobs:
9+
run_all_tests:
10+
strategy:
11+
fail-fast: false
12+
matrix:
13+
xcode-version: [14.2, 15.2]
14+
destination: ['platform=iOS Simulator,OS=17.2,name=iPhone 14 Pro', 'platform=macOS', 'platform=macOS,variant=Mac Catalyst']
15+
16+
runs-on: macos-13
17+
18+
steps:
19+
- uses: actions/checkout@v3
20+
21+
- uses: maxim-lobanov/setup-xcode@v1
22+
with:
23+
xcode-version: ${{ matrix.xcode-version }}
24+
25+
- name: Xcode Version
26+
run: xcodebuild -version
27+
28+
- name: Show SDKs
29+
run: xcodebuild -showsdks
30+
31+
- name: Download iOS platforms
32+
run: xcodebuild -downloadPlatform iOS
33+
34+
# TODO: Add step to install iOS 13
35+
# - name: Install iOS 13
36+
# run: xcversion simulators --install='iOS 13.0'
37+
38+
- name: Show Destinations
39+
run: xcodebuild -scheme LiveKitComponents -showdestinations
40+
41+
- name: Run All Tests
42+
run: xcodebuild test -scheme LiveKitComponents -destination '${{ matrix.destination }}'

0 commit comments

Comments
 (0)