-
Notifications
You must be signed in to change notification settings - Fork 286
41 lines (36 loc) · 1018 Bytes
/
test.yml
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
name: Test
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
# Device list: https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md
build-xcode-15:
runs-on: macos-latest
env:
DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer
steps:
- uses: actions/checkout@v1
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 15.4
- name: Run iOS tests
run: make test-ios PLATFORM="iOS Simulator,name=iPhone 15"
- name: Run tvOS tests
run: make test-tvos
build-xcode-16:
runs-on: macos-latest
env:
DEVELOPER_DIR: /Applications/Xcode_16.app/Contents/Developer
steps:
- uses: actions/checkout@v1
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 16.0
- name: Run iOS tests
run: make test-ios PLATFORM="iOS Simulator,name=iPhone 16"
- name: Run tvOS tests
run: make test-tvos