Skip to content

Commit

Permalink
Add debug
Browse files Browse the repository at this point in the history
Take lib from openssl version -a ENGINESDIR
  • Loading branch information
sebbASF committed Sep 9, 2023
1 parent 5480687 commit 4b9e380
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/openssl@1.1/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"

0 comments on commit 4b9e380

Please sign in to comment.