From b836fc06bfa1e385c4e647f3a44d657c4890dac1 Mon Sep 17 00:00:00 2001 From: Chris Allan Date: Mon, 14 Dec 2020 17:44:33 +0000 Subject: [PATCH] Set library path --- .github/workflows/native.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/native.yml b/.github/workflows/native.yml index 3fb6b1b..70080c8 100644 --- a/.github/workflows/native.yml +++ b/.github/workflows/native.yml @@ -53,6 +53,7 @@ jobs: - name: Run tests run: | + export LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/build cd build mkdir -p transcoded/C/ transcoded/C++/ transcoded/Java/ # Test base jxrlib C library @@ -65,6 +66,8 @@ jobs: done # Test jxrlib Java bindings (in memory and file to file) mvn -f ../java/pom.xml test + # Testing was successful + cd ${GITHUB_WORKSPACE} mvn -f java/native-linux_64 package; - name: Archive build artifacts