This is an automated email from the ASF dual-hosted git repository.
leerho pushed a commit to branch workflows
in repository https://gitbox.apache.org/repos/asf/datasketches-memory.git
The following commit(s) were added to refs/heads/workflows by this push:
new 6884fd61 Update reusable-jdk-os-matrix.yml
6884fd61 is described below
commit 6884fd6163e3966d72b51bb9824ca89e7da0f3af
Author: Lee Rhodes <[email protected]>
AuthorDate: Mon Mar 30 17:27:55 2026 -0700
Update reusable-jdk-os-matrix.yml
---
.github/workflows/reusable-jdk-os-matrix.yml | 21 +++++++++++++++++----
1 file changed, 17 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/reusable-jdk-os-matrix.yml
b/.github/workflows/reusable-jdk-os-matrix.yml
index 46d7cd63..0d95989d 100644
--- a/.github/workflows/reusable-jdk-os-matrix.yml
+++ b/.github/workflows/reusable-jdk-os-matrix.yml
@@ -15,14 +15,25 @@ on:
jdk_distribution:
required: true
type: string
+ jvm_args:
+ required: false
+ type: string
+ default: ""
env:
+ JVM_ARGS: ${{ inputs.jvm_args }}
MAVEN_OPTS: -Xmx4g -Xms1g
- MAVEN_ARGS: "-B -Dmaven.javadoc.skip=true -Dgpg.skip=true"
+ MAVEN_ARGS: "-B -Dmaven.javadoc.skip=true -Dgpg.skip=true -ntp"
+ # -ntp (no-transfer-progress) hides the "Downloaded..." lines
jobs:
build:
- name: Build (OS ${{ inputs.os_type }}, JDK ${{ inputs.jdk_version }}, CPU
${{ inputs.cpu_arch }}, DIST ${{ inputs.jdk_distribution }})
+ name: >
+ Build (OS ${{ inputs.os_type }},
+ JDK ${{ inputs.jdk_version }},
+ CPU ${{ inputs.cpu_arch }},
+ DIST ${{ inputs.jdk_distribution }}),
+ JVM_ARGS ${{ inputs.jvm_args }}
runs-on: ${{ inputs.os_type }}
steps:
- name: Checkout Source code
@@ -66,12 +77,14 @@ jobs:
cat
.github/workflow-logic/.github/workflows/reusable-jdk-os-matrix.yml || echo
"::warning::Could not find Reusable Workflow file."
echo "--- Caller Workflow: ---"
cat .github/workflows/auto-jdk-os-matrix.yml || echo
"::warning::Could not find Caller Workflow file."
+ echo "--- JVM ARGS ---"
+ echo "${{ env.JVM_ARGS }}"
- name: Test
- run: mvn clean test
+ run: mvn clean test -DargLine="${{ env.JVM_ARGS }}"
- name: Install
- run: mvn clean install "-DskipTests=true"
"-Dmaven.clean.failOnError=false"
+ run: mvn clean install "-DskipTests=true"
"-Dmaven.clean.failOnError=false" "-DargLine=${{ env.JVM_ARGS }}"
- name: Add Result to Summary
if: always()
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]