File tree Expand file tree Collapse file tree 1 file changed +33
-4
lines changed
Expand file tree Collapse file tree 1 file changed +33
-4
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,35 @@ version: 2.1
33orbs :
44 tools : replikativ/clj-tools@0
55
6+ jobs :
7+ build :
8+ executor : tools/clojurecli
9+ parameters :
10+ build_cljs :
11+ type : boolean
12+ default : false
13+ steps :
14+ - attach_workspace :
15+ at : /home/circleci
16+ - run :
17+ name : Update pom
18+ command : clojure -X:deps mvn-pom
19+ - run :
20+ name : Build
21+ command : clojure -M:jar
22+ no_output_timeout : 5m
23+ - when :
24+ condition : <<parameters.build_cljs>>
25+ steps :
26+ - run :
27+ name : compile_cljs
28+ command : npx shadow-cljs compile ci
29+ no_output_timeout : 5m
30+ - persist_to_workspace :
31+ root : /home/circleci/
32+ paths :
33+ - replikativ/replikativ-konserve-jdbc.jar
34+
635workflows :
736 build-test-and-deploy :
837 jobs :
@@ -17,8 +46,8 @@ workflows:
1746 context : dockerhub-deploy
1847 requires :
1948 - tools/setup
20- - tools/ build :
21- jarname : " konserve-jdbc "
49+ - build :
50+ build_cljs : false
2251 context : dockerhub-deploy
2352 requires :
2453 - tools/setup
@@ -34,7 +63,7 @@ workflows:
3463 - tools/setup
3564 - tools/format
3665 - tools/integrationtest-postgresql-mysql-mssql
37- - tools/ build
66+ - build
3867 - tools/deploy-release :
3968 jarname : " konserve-jdbc"
4069 context :
@@ -47,4 +76,4 @@ workflows:
4776 - tools/setup
4877 - tools/format
4978 - tools/integrationtest-postgresql-mysql-mssql
50- - tools/ build
79+ - build
You can’t perform that action at this time.
0 commit comments