-
Notifications
You must be signed in to change notification settings - Fork 104
51 lines (38 loc) · 1.27 KB
/
testing-matrix.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Testing Matrix
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
run_all_tests:
strategy:
fail-fast: false
matrix:
xcode-version: [14.2, 15.2]
destination: ['platform=iOS Simulator,OS=17.2,name=iPhone 14 Pro', 'platform=macOS', 'platform=macOS,variant=Mac Catalyst']
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: ${{ matrix.xcode-version }}
- name: Xcode Version
run: xcodebuild -version
- name: Show SDKs
run: xcodebuild -showsdks
- name: Download iOS platforms
run: xcodebuild -downloadPlatform iOS
# TODO: Add step to install iOS 13
# - name: Install iOS 13
# run: xcversion simulators --install='iOS 13.0'
# - name: Download iOS platforms
# run: xcodebuild -downloadPlatform iOS
- name: Show Destinations
run: xcodebuild -scheme LiveKit -showdestinations
- name: Run All Tests
run: xcodebuild test -scheme LiveKit -destination '${{ matrix.destination }}'