From d9b8c9bffdd28a822aa23ef3f0b186170e49f55b Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Tue, 15 Jun 2021 23:17:53 +0000 Subject: [PATCH] Drop the liblightningjni link, creating it in CI instead --- .github/workflows/build.yml | 4 +--- liblightningjni.so | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) delete mode 120000 liblightningjni.so diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 05d785f3..c470471e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -51,11 +51,9 @@ jobs: run: ./genbindings.sh ./ldk-c-bindings/ "-I/usr/lib/jvm/java-11-openjdk-amd64/include/ -I/usr/lib/jvm/java-11-openjdk-amd64/include/linux/" true false - name: Run Java Tests against Debug Bindings run: | - rm liblightningjni.so - ln -s liblightningjni_debug_Linux-amd64.so liblightningjni.so + mv liblightningjni_debug_Linux-amd64.so liblightningjni.so export ASAN_OPTIONS=detect_leaks=0 LD_PRELOAD=/usr/lib/llvm-11/lib/clang/11.0.1/lib/linux/libclang_rt.asan-x86_64.so LD_LIBRARY_PATH=. mvn test - git checkout liblightningjni.so - name: Build Java/TS Release Bindings run: | # We assume the top commit is just a bindings update commit, so we diff --git a/liblightningjni.so b/liblightningjni.so deleted file mode 120000 index 1b6bb881..00000000 --- a/liblightningjni.so +++ /dev/null @@ -1 +0,0 @@ -liblightningjni_release.so \ No newline at end of file -- 2.39.5