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 4b9e380 Add debug
4b9e380 is described below
commit 4b9e3802ed807ef3dd60659eab374e06131d3c19
Author: Sebb <[email protected]>
AuthorDate: Sat Sep 9 15:10:29 2023 +0100
Add debug
Take lib from openssl version -a ENGINESDIR
---
.github/workflows/maven.yml | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 808377c..de97ff7 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -81,16 +81,15 @@ jobs:
run: mvn -V --file pom.xml --no-transfer-progress -DtrimStackTrace=false
- name: Run Crypto (JNI)
run: |
- mvn -q exec:java -D"exec.mainClass=org.apache.commons.crypto.Crypto"
- - name: Run OpenSslJna (JNA - macOS)
- if: ${{ matrix.os == 'macos-11' }}
+ mvn -q exec:java -D"exec.mainClass=org.apache.commons.crypto.Crypto"
-D"commons.crypto.debug=true"
+ - name: Run OpenSslJna (JNA - don't override lib)
run: |
- mvn -q exec:java
-D"exec.mainClass=org.apache.commons.crypto.jna.OpenSslJna"
-D"jna.library.path=/usr/local/miniconda/lib"
- - name: Run OpenSslJna (JNA - Ubuntu)
- if: ${{ matrix.os == 'ubuntu-20.04' }}
+ mvn -q exec:java
-D"exec.mainClass=org.apache.commons.crypto.jna.OpenSslJna"
-D"commons.crypto.debug=true"
+ - name: Run OpenSslJna (JNA - macOS from openssl version -a ENGINESDIR)
+ if: ${{ matrix.os == 'macos-11' }}
run: |
- mvn -q exec:java
-D"exec.mainClass=org.apache.commons.crypto.jna.OpenSslJna"
- - name: Run OpenSslJna (JNA - Windows)
+ mvn -q exec:java
-D"exec.mainClass=org.apache.commons.crypto.jna.OpenSslJna"
-D"jna.library.path=/usr/local/Cellar/[email protected]/1.1.1v/lib"
-D"commons.crypto.debug=true"
+ - name: Run OpenSslJna (JNA - Windows from openssl version -a ENGINESDIR)
if: ${{ matrix.os == 'windows-latest' }}
run: |
- mvn -q exec:java
-D"exec.mainClass=org.apache.commons.crypto.jna.OpenSslJna"
-D"jna.library.path=C:\Miniconda\Library\bin"
+ mvn -q exec:java
-D"exec.mainClass=org.apache.commons.crypto.jna.OpenSslJna"
-D"jna.library.path="C:\Program Files\OpenSSL\lib" -D"commons.crypto.debug=true"