-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (46 loc) · 1.09 KB
/
test.yml
File metadata and controls
50 lines (46 loc) · 1.09 KB
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
name: test
on:
- push
jobs:
linux:
strategy:
fail-fast: false
matrix:
image:
- "swift:5.4"
- "swift:5.5"
- "swift:5.6"
- "swift:5.7"
- "swift:5.8"
- "swift:5.9"
name: Linux
runs-on: ubuntu-latest
container:
image: ${{ matrix.image }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Swift Version
run: swift --version
- name: Release Build
run: swift build --enable-test-discovery -v -c release
- name: Debug Build
run: swift build --enable-test-discovery -v -c debug
- name: Debug Test
run: swift test --enable-test-discovery -v -c debug
macos:
name: MacOS
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Swift Version
run: swift --version
- name: Release Build
run: swift build -v -c release
- name: Release Test
run: swift test -v -c release
- name: Debug Build
run: swift build -v -c debug
- name: Debug Test
run: swift test -v -c debug