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

leerho pushed a commit to branch gha-testing
in repository https://gitbox.apache.org/repos/asf/datasketches-memory.git


The following commit(s) were added to refs/heads/gha-testing by this push:
     new cd7f77a  Try Java 22
cd7f77a is described below

commit cd7f77a250ff578f65841e334a3b325f5655e662
Author: Lee Rhodes <[email protected]>
AuthorDate: Thu Dec 12 15:51:14 2024 -0800

    Try Java 22
---
 .github/workflows/auto-jdk-matrix.yml | 59 ++++++++++++++++++++++-------------
 .github/workflows/auto-os-matrix.yml  |  4 +--
 2 files changed, 39 insertions(+), 24 deletions(-)

diff --git a/.github/workflows/auto-jdk-matrix.yml 
b/.github/workflows/auto-jdk-matrix.yml
index d3f5824..e0270a7 100644
--- a/.github/workflows/auto-jdk-matrix.yml
+++ b/.github/workflows/auto-jdk-matrix.yml
@@ -1,4 +1,4 @@
-name: DataSketches-Memory Auto JDK Matrix Test & Install
+name: DS-Memory Auto JDK Matrix Test & Install
 
 on:
     pull_request:
@@ -12,13 +12,28 @@ env:
 jobs:
     build:
         name: Build, Test, Install
-        runs-on: ubuntu-latest
 
         strategy:
           fail-fast: false
 
+          matrix:
+            jdk: [ 21, 22 ]
+            os: [ macos-latest ]
+            include:
+#              - os: windows-latest
+#                skip_javadoc: "`-Dmaven`.javadoc`.skip=true"
+#                skip_gpg: "`-Dgpg`.skip=true"
+#              - os: ubuntu-latest
+#                skip_javadoc: -Dmaven.javadoc.skip=true
+#                skip_gpg: -Dgpg.skip=true
+              - os: macos-latest
+                skip_javadoc: -Dmaven.javadoc.skip=true
+                skip_gpg: -Dgpg.skip=true
+
+        runs-on: ${{matrix.os}}
+
         env:
-          JDK_VERSION: 21
+          JDK_VERSION: ${{ matrix.jdk }}
 
         steps:
         - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
@@ -26,18 +41,6 @@ jobs:
           with:
               persist-credentials: false
 
-        - name: Print Current workflow
-          run: >
-             cat .github/workflows/auto-jdk-matrix.yml
-
-        - name: Setup Java
-          uses: actions/setup-java@v4
-          with:
-              java-version: 21
-              distribution: 'temurin'
-              java-package: jdk
-              architecture: x64
-        
         - name: Cache local Maven repository
           uses: actions/cache@v4
           with:
@@ -45,26 +48,38 @@ jobs:
               key: build-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
               restore-keys: build-${{ runner.os }}-maven-
 
+        - name: Install Matrix JDK
+          uses: actions/setup-java@v4
+          with:
+              java-version: ${{ matrix.jdk }}
+              distribution: 'temurin'
+              java-package: jdk
+              architecture: x64 
+
         - name: Echo Java Version
           run: >
               java -version
 
+        - name: Print Current workflow
+          run: >
+           cat .github/workflows/auto-os-matrix.yml
+
         - name: Test
           run: >
-              mvn clean test -B
-              -Dmaven.javadoc.skip=true
-              -Dgpg.skip=true
+              mvn clean test
+              ${{matrix.os.skip_javadoc}}
+              ${{matrix.os.skip_gpg}}
 
         - name: Install
           run: >
               mvn clean install -B
-              -DskipTests=true
-              -Dgpg.skip=true
+              ${{matrix.os.skip_javadoc}}
+              -D skipTests=true
+              ${{matrix.os.skip_gpg}}
 
 # Architecture options: x86, x64, armv7, aarch64, ppc64le
 # setup-java@v4 has a "with cache" option
 # Lifecycle: validate, compile, test, package, verify, install, deploy
-# -B batch mode, never stops for user input
+# -B batch mode
 # -V show Version without stopping
-# -X debug mode
 # -q quiet, only show errors
diff --git a/.github/workflows/auto-os-matrix.yml 
b/.github/workflows/auto-os-matrix.yml
index d7a9f6d..fed566f 100644
--- a/.github/workflows/auto-os-matrix.yml
+++ b/.github/workflows/auto-os-matrix.yml
@@ -1,4 +1,4 @@
-name: DataSketches-Memory Auto JDK, OS Matrix Test & Install
+name: DS-Memory Auto OS Matrix Test & Install
 
 on:
     pull_request:
@@ -7,7 +7,7 @@ on:
     workflow_dispatch:
 
 env:
-    MAVEN_OPTS: -Xmx1g -Xms1g
+    MAVEN_OPTS: -Xmx4g -Xms1g
 
 jobs:
     build:


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to