You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2023/11/09 23:53:30 UTC
(commons-crypto) branch master updated: Override default library
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 85f34ee9 Override default library
85f34ee9 is described below
commit 85f34ee9c8faa22ab4fb57324bfd55db02897de7
Author: Sebb <se...@apache.org>
AuthorDate: Thu Nov 9 23:53:25 2023 +0000
Override default library
---
.github/workflows/maven.yml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 3b5e80a8..536689c2 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -128,7 +128,9 @@ jobs:
run: |
mvn -V -B -ntp clean test-compile -Pbenchmark
- name: Check JNI and JNA tests are independent
+ # N.B. the default library fails with 'java is loading libcrypto in an unsafe way'
+ # so we need to define the appropriate library for each test
if: ${{ matrix.java == '8' }}
run: |
- mvn -V -B -ntp test -Ptestjni
- mvn -V -B -ntp test -Ptestjna
+ mvn -V -B -ntp test -Ptestjni -D"jni.library.path=$ENGINESDIR"
+ mvn -V -B -ntp test -Ptestjna -D"jna.library.path=$ENGINESDIR"