-
Notifications
You must be signed in to change notification settings - Fork 18
27 lines (27 loc) · 864 Bytes
/
build.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
name: build
on: [push, pull_request]
jobs:
xenial:
container:
image: swift:xenial
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: apt-get -qq update && apt-get -q -y install libpq-dev libssl-dev zlib1g-dev
- run: swift test --enable-test-discovery --sanitize=thread
bionic:
container:
image: swift:bionic
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: apt-get -qq update && apt-get -q -y install libpq-dev libssl-dev zlib1g-dev
- run: swift test --enable-test-discovery --sanitize=thread
bionic-release:
container:
image: swift:bionic
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: apt-get -qq update && apt-get -q -y install libpq-dev libssl-dev zlib1g-dev
- run: swift build --enable-test-discovery -c release