Skip to content

Commit 82db3b8

Browse files
committed
update circle yml
1 parent a6d274e commit 82db3b8

File tree

1 file changed

+30
-5
lines changed

1 file changed

+30
-5
lines changed

circle.yml

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,41 @@ jobs:
1717
POSTGRES_DB: postgres
1818
POSTGRES_PASSWORD: ""
1919
steps:
20-
- run: apt-get update
21-
- run: apt-get install -yq libssl-dev pkg-config
20+
- run:
21+
name: Update APT
22+
command: apt-get update
23+
- run:
24+
name: Install Swift NIO dependencies
25+
command: apt-get install -yq pkg-config libssl-dev
2226
- checkout
23-
- run: swift build
24-
- run: swift test
25-
- run: swift build -c release
27+
- run:
28+
name: Compile code
29+
command: swift build
30+
- run:
31+
name: Run unit tests
32+
command: swift test
33+
- run:
34+
name: Compile code with optimizations
35+
command: swift build -c release
36+
37+
2638
workflows:
2739
version: 2
2840
tests:
2941
jobs:
3042
- linux
3143
# - macos
44+
45+
nightly:
46+
triggers:
47+
- schedule:
48+
cron: "0 0 * * *"
49+
filters:
50+
branches:
51+
only:
52+
- master
53+
54+
jobs:
55+
- linux
56+
# - macos
3257

0 commit comments

Comments
 (0)