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

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git


The following commit(s) were added to refs/heads/master by this push:
     new 4a36043d Try test
4a36043d is described below

commit 4a36043d1315d6859df6618f932f2cb7bfc546a1
Author: Sebb <s...@apache.org>
AuthorDate: Sat Nov 4 15:12:26 2023 +0000

    Try test
---
 .github/workflows/maven_adhoc.yml | 42 +++++++++++++++++++++++++--------------
 1 file changed, 27 insertions(+), 15 deletions(-)

diff --git a/.github/workflows/maven_adhoc.yml 
b/.github/workflows/maven_adhoc.yml
index 22aaefa4..a4d3ecd3 100644
--- a/.github/workflows/maven_adhoc.yml
+++ b/.github/workflows/maven_adhoc.yml
@@ -50,18 +50,30 @@ jobs:
     - name: OpenSSL version
       run: openssl version -a
       #  Get-Childitem –Path "C:\Program Files"  -File -Include libcrypto* 
-Recurse -ErrorAction SilentlyContinue
-    #  - name: Checkout
-    #    uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # 
v4.1.1
-    #    with:
-    #      persist-credentials: false
-    #  - name: Set up JDK ${{ matrix.java }}
-    #    uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # 
v3.13.0
-    #    with:
-    #      distribution: 'temurin'
-    #      java-version: ${{ matrix.java }}
-    #  - name: Build with Maven
-    #    env:
-    #      OPENSSL_HOME: "C:\\Miniconda\\Library"
-    #      ENGINESDIR: "C:\\Program Files\\OpenSSL"
-    #    run: |
-    #      mvn test -B -V -ntp -DtrimStackTrace=false 
-D"jni.library.path=$env:ENGINESDIR" -D"jna.library.path=$env:ENGINESDIR"
+     - name: Checkout
+       uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
+       with:
+         persist-credentials: false
+     - name: Set up JDK ${{ matrix.java }}
+       uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # 
v3.13.0
+       with:
+         distribution: 'temurin'
+         java-version: ${{ matrix.java }}
+     - name: Build with Maven
+       env:
+         OPENSSL_HOME: "C:\\Miniconda\\Library"
+         LIB: "C:\\Program Files\\OpenSSL"
+       run: |
+         mvn clean test -B -V -ntp -DtrimStackTrace=false 
-D"jni.library.path=$env:LIB" -D"jna.library.path=$env:LIB"
+     - name: JNA test
+      if: always()
+       env:
+         LIB: "C:\\Program Files\\OpenSSL"
+       run: |
+          mvn -q exec:java 
-D"exec.mainClass=org.apache.commons.crypto.jna.OpenSslJna" 
-Dcommons.crypto.debug -D"jna.library.path=$env:LIB"
+     - name: JNI test
+      if: always()
+       env:
+         LIB: "C:\\Program Files\\OpenSSL"
+       run: |
+          mvn -q exec:java -D"exec.mainClass=org.apache.commons.crypto.Crypto" 
-Dcommons.crypto.debug -D"jni.library.path=$env:LIB"

Reply via email to