Add CI job for JDK17 (#11584)

Motivation:

As JDK17 is really close to be released we should add a CI job for it to ensure netty works correctly when using it.

Modifications:

Add docker config and workflow config to run CI job for JDK17

Result:

Ensure netty works on JDK17 as well
This commit is contained in:
Norman Maurer 2021-08-18 10:08:49 +02:00 committed by GitHub
parent 69f0de223f
commit cafc669436
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 0 deletions

View File

@ -147,6 +147,9 @@ jobs:
- setup: linux-x86_64-java16 - setup: linux-x86_64-java16
docker-compose-build: "-f docker/docker-compose.yaml -f docker/docker-compose.centos-6.116.yaml build" docker-compose-build: "-f docker/docker-compose.yaml -f docker/docker-compose.centos-6.116.yaml build"
docker-compose-run: "-f docker/docker-compose.yaml -f docker/docker-compose.centos-6.116.yaml run build-leak" docker-compose-run: "-f docker/docker-compose.yaml -f docker/docker-compose.centos-6.116.yaml run build-leak"
- setup: linux-x86_64-java17
docker-compose-build: "-f docker/docker-compose.yaml -f docker/docker-compose.centos-6.117.yaml build"
docker-compose-run: "-f docker/docker-compose.yaml -f docker/docker-compose.centos-6.117.yaml run build-leak"
- setup: linux-x86_64-java11-boringssl - setup: linux-x86_64-java11-boringssl
docker-compose-build: "-f docker/docker-compose.yaml -f docker/docker-compose.centos-6.111.yaml build" docker-compose-build: "-f docker/docker-compose.yaml -f docker/docker-compose.centos-6.111.yaml build"
docker-compose-run: "-f docker/docker-compose.yaml -f docker/docker-compose.centos-6.111.yaml run build-leak-boringssl-static" docker-compose-run: "-f docker/docker-compose.yaml -f docker/docker-compose.centos-6.111.yaml run build-leak-boringssl-static"

View File

@ -0,0 +1,24 @@
version: "3"
services:
runtime-setup:
image: netty:centos-7-1.17
build:
args:
java_version : "zulu@1.17.0-0"
build:
image: netty:centos-7-1.17
build-leak:
image: netty:centos-7-1.17
build-boringssl-static:
image: netty:centos-7-1.17
build-leak-boringssl-static:
image: netty:centos-7-1.17
shell:
image: netty:centos-7-1.17

View File

@ -68,6 +68,15 @@
<argLine.common>-XX:+AllowRedefinitionToAddDeleteMethods</argLine.common> <argLine.common>-XX:+AllowRedefinitionToAddDeleteMethods</argLine.common>
</properties> </properties>
</profile> </profile>
<profile>
<id>java17</id>
<activation>
<jdk>17</jdk>
</activation>
<properties>
<argLine.common>-XX:+AllowRedefinitionToAddDeleteMethods</argLine.common>
</properties>
</profile>
</profiles> </profiles>
<properties> <properties>