Skip to content
This repository was archived by the owner on Sep 26, 2021. It is now read-only.

Commit 5245d10

Browse files
committed
Switch to CircleCI v2
Signed-off-by: Joffrey F <joffrey@docker.com>
1 parent db57b17 commit 5245d10

File tree

2 files changed

+49
-18
lines changed

2 files changed

+49
-18
lines changed

.circleci/config.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
version: 2
2+
jobs:
3+
build:
4+
docker:
5+
- image: circleci/buildpack-deps:xenial-scm
6+
steps:
7+
- checkout
8+
- setup_remote_docker:
9+
docker_layer_caching: true
10+
- run:
11+
name: Install make
12+
command: sudo apt-get install make
13+
- run:
14+
name: Build OSX binary
15+
command: make osx
16+
- run:
17+
name: Build Windows binary
18+
command: make windows
19+
20+
deploy:
21+
docker:
22+
- image: circleci/buildpack-deps:xenial-scm
23+
steps:
24+
- checkout
25+
- setup_remote_docker:
26+
docker_layer_caching: true
27+
- run:
28+
name: Install make
29+
command: sudo apt-get install make
30+
- run:
31+
name: Run deploy script
32+
command: ./script/deploy.sh
33+
34+
35+
36+
workflows:
37+
version: 2
38+
build_deploy_switch:
39+
jobs:
40+
- build:
41+
filters:
42+
tags:
43+
ignore: /^v.*/
44+
- deploy:
45+
filters:
46+
tags:
47+
only: /^v.*/
48+
branches:
49+
ignore: /.*/

circle.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)