Skip to content

Commit

Permalink
Add more JDKs to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
drewr committed Nov 18, 2020
1 parent ff59d98 commit 382cb0e
Showing 1 changed file with 30 additions and 6 deletions.
36 changes: 30 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,42 @@
version: 2
jobs:
build:
version: 2.1

executors:
jdk8:
docker:
- image: clojure:openjdk-8-lein
jdk11:
docker:
- image: clojure:openjdk-8-lein-2.9.1
- image: clojure:openjdk-11-lein
jdk14:
docker:
- image: clojure:openjdk-14-lein

jobs:
postal:
parallelism: 2
parameters:
jdk:
type: executor
executor: << parameters.jdk >>
steps:
- add_ssh_keys:
fingerprints:
- "a6:08:d9:a8:b8:92:c3:d2:19:f4:0b:af:a6:8b:2b:7c"
- checkout
- restore_cache:
key: << checksum "project.clj" >>
key: cache-{{ checksum "project.clj" }}
- run: lein test-all
- save_cache:
paths:
- $HOME/.m2
- $HOME/.lein
key: << checksum "project.clj" >>
key: cache-{{ checksum "project.clj" }}

workflows:
all-tests:
jobs:
- postal:
matrix:
parameters:
jdk: [jdk8, jdk11, jdk14]

0 comments on commit 382cb0e

Please sign in to comment.