-
Notifications
You must be signed in to change notification settings - Fork 4
91 lines (89 loc) · 2.36 KB
/
ci.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
79
80
81
82
83
84
85
86
87
88
89
90
91
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- '*'
jobs:
build-big-sur:
strategy:
matrix:
xcode:
- '12.5.1'
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Run Build
run: swift build
unit_test-big-sur:
strategy:
matrix:
xcode:
- '12.5.1'
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Run tests
run: swift test --enable-test-discovery --enable-code-coverage | xcpretty
build-monterey:
strategy:
matrix:
xcode:
- '13.1'
- '13.2.1'
- '13.3.1'
- '13.4.1'
- '14.0'
runs-on: macos-12
steps:
- uses: actions/checkout@v2
- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Run Build
run: swift build
unit_test-monterey:
strategy:
matrix:
xcode:
- '13.1'
- '13.2.1'
- '13.3.1'
- '13.4.1'
- '14.0'
runs-on: macos-12
steps:
- uses: actions/checkout@v2
- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Run tests
run: swift test --enable-test-discovery --enable-code-coverage | xcpretty
build-ventura:
strategy:
matrix:
xcode:
- '14.3.1'
runs-on: macos-13
steps:
- uses: actions/checkout@v2
- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Run Build
run: swift build
unit_test-ventura:
strategy:
matrix:
xcode:
- '14.3.1'
runs-on: macos-13
steps:
- uses: actions/checkout@v2
- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Run tests
run: swift test --enable-test-discovery --enable-code-coverage | xcpretty