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

dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/main by this push:
     new 26881d941 ORC-1916: Add Java `25-ea` build CI
26881d941 is described below

commit 26881d9419565ee792659adf7c8fa2dd38d1295e
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Mon Jun 9 22:35:09 2025 -0700

    ORC-1916: Add Java `25-ea` build CI
    
    ### What changes were proposed in this pull request?
    
    This PR aims to add `Java 25-ea` build GitHub Action CI. Note that 
`testing` is not a goal.
    
    ### Why are the changes needed?
    
    As a part of Apache ORC 2.2.0 preparation, we had better protect the build 
capability with `Java 25-ea`.
    
    ### How was this patch tested?
    
    Pass the CIs with the newly added `Java 25-ea` test pipeline.
    
    
https://github.com/apache/orc/actions/runs/15551252384/job/43782178949?pr=2264
    
    <img width="593" alt="Screenshot 2025-06-09 at 10 24 39 PM" 
src="https://github.com/user-attachments/assets/b574c4ed-009e-4798-a84f-f74390fb2fd0";
 />
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #2264 from dongjoon-hyun/ORC-1916.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 .github/workflows/build_and_test.yml | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/build_and_test.yml 
b/.github/workflows/build_and_test.yml
index 0841553df..86adab5e8 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -79,6 +79,8 @@ jobs:
           - os: ubuntu-22.04
             java: 17
             cxx: g++
+          - os: ubuntu-latest
+            java: 25-ea
     env:
       MAVEN_OPTS: -Xmx2g
       MAVEN_SKIP_RC: true
@@ -94,10 +96,16 @@ jobs:
     - name: "Test"
       run: |
         mkdir -p ~/.m2
-        mkdir build
-        cd build
-        cmake -DANALYZE_JAVA=ON -DOPENSSL_ROOT_DIR=`brew --prefix [email protected]` 
..
-        make package test-out
+        if [ "${{ matrix.java }}" = "25-ea" ]; then
+          cd java
+          # JDK 25 Build
+          ./mvnw package -DskipTests
+        else
+          mkdir build
+          cd build
+          cmake -DANALYZE_JAVA=ON -DOPENSSL_ROOT_DIR=`brew --prefix 
[email protected]` ..
+          make package test-out
+        fi
     - name: Step on failure
       if: ${{ failure() }}
       run: |

Reply via email to