-
Notifications
You must be signed in to change notification settings - Fork 99
49 lines (44 loc) · 1.08 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
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- '*'
jobs:
library-swift-latest:
name: Library (swift-latest)
runs-on: macOS-13
steps:
- uses: actions/checkout@v3
- name: Select Xcode 14.3
run: sudo xcode-select -s /Applications/Xcode_14.3.app
- name: Run tests
run: make test
- name: Build for library evolution
run: make build-for-library-evolution
library-swift-5-6:
name: Library (swift-5.6)
runs-on: macOS-12
steps:
- uses: actions/checkout@v3
- name: Select Xcode 13.4.1
run: sudo xcode-select -s /Applications/Xcode_13.4.1.app
- name: Run tests
run: make test
windows:
name: Windows
strategy:
matrix:
os: [windows-latest]
config: ['debug', 'release']
runs-on: ${{ matrix.os }}
steps:
- uses: compnerd/gha-setup-swift@main
with:
branch: swift-5.8-release
tag: 5.8-RELEASE
- uses: actions/checkout@v3
- name: Run tests
run: swift test -c ${{ matrix.config }}