From: Matt Corallo Date: Tue, 23 Mar 2021 15:37:53 +0000 (-0400) Subject: DO NOT MERGE: Upload artifacts X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=9985ee88e323a7c2ac6be3a532ebf2a62c77f1af;p=ldk-java DO NOT MERGE: Upload artifacts --- 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