]> git.bitcoin.ninja Git - ldk-java/commitdiff
DO NOT MERGE: Upload artifacts
authorMatt Corallo <git@bluematt.me>
Tue, 23 Mar 2021 15:37:53 +0000 (11:37 -0400)
committerMatt Corallo <git@bluematt.me>
Tue, 23 Mar 2021 18:05:37 +0000 (14:05 -0400)
.github/workflows/build.yml

index 72ff307a81b8122c1fbf74258ee502ff025cc8c1..5cd8c784e9461fbdf3fe4c23ddedb76af7712c1b 100644 (file)
@@ -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