-
Notifications
You must be signed in to change notification settings - Fork 26
78 lines (73 loc) · 1.92 KB
/
main.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test-package-excluding-visionOS:
name: "Test Package"
runs-on: macos-13
strategy:
fail-fast: false
matrix:
xcode:
- '14.2' # Swift 5.7
- '14.3' # Swift 5.8
- '15.0' # Swift 5.9
- '15.1' # Swift 5.9
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
with:
xcode: ${{ matrix.xcode }}
- name: Build Package
run: SKIP_VISION_OS=true bundle exec rake test:package:github_actions
test-package-macos-13:
name: "Test Package"
runs-on: macos-14
strategy:
fail-fast: false
matrix:
xcode:
- '15.2' # Swift 5.9, first version with visionOS support
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
with:
xcode: ${{ matrix.xcode }}
- name: Build Package
run: bundle exec rake test:package:github_actions
build-example-excluding-visionOS:
name: "Build Example App"
runs-on: macos-13
strategy:
fail-fast: false
matrix:
xcode:
- '14.2' # Swift 5.7
- '14.3' # Swift 5.8
- '15.0' # Swift 5.9
- '15.1' # Swift 5.9
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
with:
xcode: ${{ matrix.xcode }}
- name: Build Example
run: SKIP_VISION_OS=true bundle exec rake build:example:github_actions
build-example-macos-13:
name: "Build Example App"
runs-on: macos-14
strategy:
fail-fast: false
matrix:
xcode:
- '15.2' # Swift 5.9, first version with visionOS support
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
with:
xcode: ${{ matrix.xcode }}
- name: Build Example
run: bundle exec rake build:example:github_actions