Skip to content

Commit 92967ac

Browse files
committed
Add initial CircleCI config
1 parent 6af49e9 commit 92967ac

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.circleci/config.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
version: 2
2+
jobs:
3+
build:
4+
working_directory: ~/repo
5+
docker:
6+
- image: circleci/clojure:openjdk-11-tools-deps
7+
steps:
8+
- checkout
9+
- run:
10+
name: Create an aggregated checksum file of all of the deps.edn files
11+
command: find . -name 'deps.edn' | xargs shasum > checksum.txt
12+
- restore_cache:
13+
keys:
14+
- v1-deps-checksum-{{ checksum "checksum.txt" }}
15+
- v1-deps-checksum-
16+
- run:
17+
name: Test main
18+
working_directory: ~/repo/lib/edge.system
19+
command: ../bin/eftest -A:test --junit test-results/clojure.test/junit.xml
20+
- store_test_results:
21+
path: ~/repo/lib/edge.system/test-results
22+
- save_cache:
23+
paths:
24+
- ~/.m2
25+
- ~/.gitlibs
26+
key: v1-deps-checksum-{{ checksum "checksum.txt" }}
27+
workflows:
28+
version: 2
29+
build_and_deploy:
30+
jobs:
31+
- build

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@
88
# pack'd output
99
/*.jar
1010
**/*.jar
11+
12+
checksum.txt

0 commit comments

Comments
 (0)