Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add initial CircleCI config #86

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
version: 2
jobs:
build:
working_directory: ~/repo
docker:
- image: circleci/clojure:openjdk-11-tools-deps
steps:
- checkout
- run:
name: Create an aggregated checksum file of all of the deps.edn files
command: find . -name 'deps.edn' | xargs shasum > checksum.txt
- restore_cache:
keys:
- v1-deps-checksum-{{ checksum "checksum.txt" }}
- v1-deps-checksum-
- run:
name: Test main
working_directory: ~/repo/lib/edge.system
command: ../bin/eftest -A:test --junit test-results/clojure.test/junit.xml
- store_test_results:
path: ~/repo/lib/edge.system/test-results
- save_cache:
paths:
- ~/.m2
- ~/.gitlibs
key: v1-deps-checksum-{{ checksum "checksum.txt" }}
workflows:
version: 2
build_and_deploy:
jobs:
- build
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@
# pack'd output
/*.jar
**/*.jar

checksum.txt