From c47ac1aae462f74db10f660b9a43c437123979d2 Mon Sep 17 00:00:00 2001 From: Justin Coyne Date: Thu, 15 Aug 2024 10:19:09 -0500 Subject: [PATCH] Add JDK21 (LTS) to the test matrix --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f600e84f2..a0cdcb9e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest] - java: [jdk11, jdk17, jdk18, graalvm] + java: [jdk11, jdk17, jdk18, jdk21, graalvm] fail-fast: false steps: - name: Check out the repository @@ -25,6 +25,9 @@ jobs: - name: Test in Linux JDK 18 if: matrix.os == 'ubuntu-latest' && matrix.java == 'jdk18' run: docker compose -f docker/Linux-JDK18/docker-compose.yml up --build --exit-code-from cantaloupe + - name: Test in Linux JDK 21 (LTS) + if: matrix.os == 'ubuntu-latest' && matrix.java == 'jdk21' + run: docker compose -f docker/Linux-JDK21/compose.yml up --build --exit-code-from cantaloupe - name: Test in Linux GraalVM if: matrix.os == 'ubuntu-latest' && matrix.java == 'graalvm' run: docker compose -f docker/Linux-GraalVM20/docker-compose.yml up --build --exit-code-from cantaloupe @@ -37,4 +40,7 @@ jobs: - name: Test in Windows JDK 18 if: matrix.os == 'windows-latest' && matrix.java == 'jdk18' run: docker compose -f docker/Windows-JDK18/docker-compose.yml up --build --exit-code-from cantaloupe + - name: Test in Windows JDK 21 (LTS) + if: matrix.os == 'windows-latest' && matrix.java == 'jdk21' + run: docker compose -f docker/Windows-JDK21/compose.yml up --build --exit-code-from cantaloupe # TODO: Windows+GraalVM