-
Notifications
You must be signed in to change notification settings - Fork 4
35 lines (31 loc) · 874 Bytes
/
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
name: Continuous Integration
on:
workflow_dispatch:
push:
jobs:
build-release:
strategy:
matrix:
# https://github.com/actions/virtual-environments
os: [macos-12, ubuntu-20.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: fwal/setup-swift@v2
- name: Echo Swift version
run: swift --version
- name: Check a Release build
run: swift build --disable-automatic-resolution -c release
test:
strategy:
matrix:
# https://github.com/actions/virtual-environments
os: [macos-12, ubuntu-20.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: fwal/setup-swift@v2
- name: Echo Swift version
run: swift --version
- name: Test
run: swift test --disable-automatic-resolution