DO NOT MERGE: Apply ldk-c-bindings patch
authorMatt Corallo <git@bluematt.me>
Tue, 23 Mar 2021 14:06:51 +0000 (10:06 -0400)
committerMatt Corallo <git@bluematt.me>
Tue, 23 Mar 2021 18:05:37 +0000 (14:05 -0400)
.github/workflows/build.yml

index fea1c72c88f2faf67aba385308bf8b20ea55ed4a..72ff307a81b8122c1fbf74258ee502ff025cc8c1 100644 (file)
@@ -29,6 +29,9 @@ jobs:
           git merge matt/2021-03-java-bindings-base
           cd ..
           git clone https://github.com/lightningdevkit/ldk-c-bindings
+          cd ldk-c-bindings
+          sed -i 's|# Now cd to lightning-c-bindings, build the generated bindings, and call cbindgen to build a C header file|export RUSTFLAGS="--remap-path-prefix $LIGHTNING_PATH=rust-lightning --remap-path-prefix $HOME/.cargo= -Z no-parallel-llvm"\nexport RUSTC_BOOTSTRAP=1|' genbindings.sh
+          cd ..
       - name: Rebuild C bindings, and check the sample app builds + links
         run: cd ldk-c-bindings && ./genbindings.sh ../rust-lightning && cd ..
       - name: Build Java/TS Debug Bindings