This repository has been archived by the owner on Jun 4, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 281
/
circle.yml
44 lines (42 loc) · 1.45 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
version: 2
jobs:
build:
docker:
- image: circleci/node:8-browsers
- image: quay.io/plotly/falcon-test-spark
- image: quay.io/plotly/falcon-test-db2
- image: quay.io/plotly/falcon-test-clickhouse
environment:
PATH: "/usr/local/opt/curl/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/home/circleci/project/node_modules/.bin"
working_directory: /home/circleci/falcon
steps:
- restore_cache:
key: v1-source-{{ .Branch }}-{{ .Revision }}
keys:
- v1-source-{{ .Branch }}-
- v1-source-
- checkout
- save_cache:
key: v1-source-{{ .Branch }}-{{ .Revision }}
paths:
- ".git"
- restore_cache:
key: v2-yarn-{{ checksum "yarn.lock" }}
keys:
- v2-yarn-
- run: node --version
- run: yarn --version
- run: yarn install
- run: yarn run rebuild:modules:electron
- save_cache:
key: v2-yarn-{{ checksum "yarn.lock" }}
paths:
- node_modules
- run: yarn run build
- run: yarn run test
- run: yarn run pack
# create artifacts/ and move installer from release/falcon-sql-client-vM.m.p.tar.gz to artifacts/linux-falcon-vM.m.p.tar.gz
- run: mkdir artifacts
- run: for f in release/falcon-sql-client-*.tar.gz ; do mv $f artifacts/linux-falcon-v${f#release/falcon-sql-client-}; done
- store_artifacts:
path: artifacts