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
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