Skip to content

Commit

Permalink
Add a build job on JDK 11
Browse files Browse the repository at this point in the history
  • Loading branch information
izeye committed Aug 18, 2021
1 parent 0f34bcb commit ef9bb66
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ executors:
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"'
docker:
- image: cimg/openjdk:16.0.2
circle-jdk11-executor:
working_directory: ~/micrometer
environment:
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"'
docker:
- image: cimg/openjdk:11.0.11
machine-executor:
working_directory: ~/micrometer
machine:
Expand Down Expand Up @@ -50,6 +56,11 @@ jobs:
steps:
- gradlew-build

build-jdk11:
executor: circle-jdk11-executor
steps:
- gradlew-build

docker-tests:
executor: machine-executor
steps:
Expand All @@ -71,10 +82,12 @@ workflows:
build_prs_deploy_snapshots:
jobs:
- build
- build-jdk11
- docker-tests
- deploy:
requires:
- build
- build-jdk11
- docker-tests
filters:
branches:
Expand All @@ -89,6 +102,12 @@ workflows:
ignore: /.*/
tags:
only: /^v\d+\.\d+\.\d+(-(RC|M)\d+)?$/
- build-jdk11:
filters:
branches:
ignore: /.*/
tags:
only: /^v\d+\.\d+\.\d+(-(RC|M)\d+)?$/
- docker-tests:
filters:
branches:
Expand All @@ -98,6 +117,7 @@ workflows:
- deploy:
requires:
- build
- build-jdk11
- docker-tests
filters:
tags:
Expand Down

0 comments on commit ef9bb66

Please sign in to comment.