From 9985ee88e323a7c2ac6be3a532ebf2a62c77f1af Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Tue, 23 Mar 2021 11:37:53 -0400 Subject: [PATCH] DO NOT MERGE: Upload artifacts --- .github/workflows/build.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 72ff307a..5cd8c784 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,6 +34,11 @@ jobs: cd .. - name: Rebuild C bindings, and check the sample app builds + links run: cd ldk-c-bindings && ./genbindings.sh ../rust-lightning && cd .. + - name: Upload builds to compare 0 + uses: actions/upload-artifact@v2 + with: + name: c_bindings + path: ldk-c-bindings/lightning-c-bindings/target/release/libldk.a - name: Build Java/TS Debug Bindings 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 @@ -47,6 +52,16 @@ jobs: git checkout liblightningjni.so - name: Build Java/TS Release Bindings 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/" false false + - name: Upload builds to compare + uses: actions/upload-artifact@v2 + with: + name: jni_release + path: liblightningjni_release.so + - name: Upload builds to compare 2 + uses: actions/upload-artifact@v2 + with: + name: jni_debug + path: liblightningjni_debug.so - name: Check latest headers are in git run: | git diff --exit-code -- 2.39.5