This is an automated email from the ASF dual-hosted git repository.

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ratis.git


The following commit(s) were added to refs/heads/master by this push:
     new 8bc09bbe5 RATIS-2085. Compile Ratis with JDK 17/21 in CI (#1087)
8bc09bbe5 is described below

commit 8bc09bbe57fb4e58f8a1367969b5538a34b4ce2b
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Sun May 12 20:51:44 2024 +0200

    RATIS-2085. Compile Ratis with JDK 17/21 in CI (#1087)
---
 .github/workflows/post-commit.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/post-commit.yml 
b/.github/workflows/post-commit.yml
index 9408743e8..7c286b29b 100644
--- a/.github/workflows/post-commit.yml
+++ b/.github/workflows/post-commit.yml
@@ -66,7 +66,7 @@ jobs:
     timeout-minutes: 30
     strategy:
       matrix:
-        java: [ 11 ]
+        java: [ 11, 17, 21 ]
       fail-fast: false
     steps:
       - name: Download source tarball
@@ -91,7 +91,7 @@ jobs:
           distribution: 'temurin'
           java-version: ${{ matrix.java }}
       - name: Run a full build
-        run: ./dev-support/checks/build.sh
+        run: ./dev-support/checks/build.sh -Djavac.version=${{ matrix.java }}
   rat:
     name: rat
     runs-on: ubuntu-20.04

Reply via email to