From e945635d31d1b85535ede054f2a8b414045c270b Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Tue, 23 Mar 2021 10:06:51 -0400 Subject: [PATCH] DO NOT MERGE: Apply ldk-c-bindings patch --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.5