/
circle.yml
50 lines (48 loc) 路 1.11 KB
/
circle.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
version: 2
jobs:
macos:
macos:
xcode: "11.0.0"
steps:
- checkout
- run: HOMEBREW_NO_AUTO_UPDATE=1 brew install openssl@1.1
- run: swift build
- run: swift test
macos-release:
macos:
xcode: "11.0.0"
steps:
- checkout
- run: HOMEBREW_NO_AUTO_UPDATE=1 brew install openssl@1.1
- run: swift build -c release
bionic:
docker:
- image: vapor/swift:5.1-bionic
steps:
- checkout
- run: apt-get update; apt-get install -y libssl-dev zlib1g-dev
- run: swift build
- run: swift test
bionic-release:
docker:
- image: vapor/swift:5.1-bionic
steps:
- checkout
- run: apt-get update; apt-get install -y libssl-dev zlib1g-dev
- run: swift build -c release
bionic-thread:
docker:
- image: vapor/swift:5.1-bionic
steps:
- checkout
- run: apt-get update; apt-get install -y libssl-dev zlib1g-dev
- run: swift test --sanitize=thread
workflows:
version: 2
tests:
jobs:
# - macos
# - macos-release
- bionic
- bionic-release
- bionic-thread