From: Matt Corallo Date: Tue, 23 Mar 2021 14:06:51 +0000 (-0400) Subject: DO NOT MERGE: Apply ldk-c-bindings patch X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=ldk-java;a=commitdiff_plain;h=e945635d31d1b85535ede054f2a8b414045c270b DO NOT MERGE: Apply ldk-c-bindings patch --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fea1c72c..72ff307a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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