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

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


The following commit(s) were added to refs/heads/crypto-174 by this push:
     new 6da8b24f It seems JNI needs lib prefix
6da8b24f is described below

commit 6da8b24f5356642c69e7fdd331dcd23c2012322c
Author: Sebb <[email protected]>
AuthorDate: Mon Nov 6 22:47:36 2023 +0000

    It seems JNI needs lib prefix
---
 .github/workflows/maven_adhoc.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/maven_adhoc.yml 
b/.github/workflows/maven_adhoc.yml
index ed5a50ad..d0dfc3d0 100644
--- a/.github/workflows/maven_adhoc.yml
+++ b/.github/workflows/maven_adhoc.yml
@@ -63,7 +63,7 @@ jobs:
     - name: Build with Maven
       env:
         OPENSSL_HOME: "C:\\Miniconda\\Library"
-        NAME: "crypto-1_1-x64"
+        NAME: "libcrypto-1_1-x64"
       run: |
         mvn clean test -B -V -ntp -D"jna.debug_load=true" 
-DtrimStackTrace=false -D"jni.library.name=$env:NAME" 
-D"commons.crypto.OpenSslNativeJna=$env:NAME" 
-D"commons.crypto.openssl.check=skip" -D"commons.crypto.debug=true"
     - name: JNA test
@@ -75,6 +75,6 @@ jobs:
     - name: JNI test
       if: always()
       env:
-        NAME: "crypto-1_1-x64"
+        NAME: "libcrypto-1_1-x64"
       run: |
         mvn -q exec:java -D"exec.mainClass=org.apache.commons.crypto.Crypto" 
-D"commons.crypto.debug=true" -D"jni.library.name=$env:NAME"

Reply via email to