]> git.bitcoin.ninja Git - ldk-java/commitdiff
Fix CI
authorMatt Corallo <git@bluematt.me>
Fri, 16 Apr 2021 02:39:52 +0000 (02:39 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 16 Apr 2021 16:49:00 +0000 (16:49 +0000)
.github/workflows/build.yml

index d1385ba6330a6e0993d54b413525f686ffaba016..f6cf74a30987235a8a2875856c69f7efa6aa0433 100644 (file)
@@ -29,8 +29,14 @@ jobs:
           git merge matt/2021-03-java-bindings-base
           cd ..
           git clone https://github.com/lightningdevkit/ldk-c-bindings
+      - name: Rebuild C bindings without STD for WASM
+        run: |
+          cd ldk-c-bindings
+          ./genbindings.sh ../rust-lightning false
+          mv target/wasm32-wasi ./
+          cd ..
       - name: Rebuild C bindings, and check the sample app builds + links
-        run: cd ldk-c-bindings && ./genbindings.sh ../rust-lightning true && cd ..
+        run: cd ldk-c-bindings && ./genbindings.sh ../rust-lightning true && mv wasm32-wasi target/ && cd ..
       - 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