X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=.github%2Fworkflows%2Fbuild.yml;fp=.github%2Fworkflows%2Fbuild.yml;h=917c8b4a1bad3dea712be48c2cd571061ed86b49;hb=e92422d0b5a2380db23a8ebab92011a7800f0a78;hp=b2c6e4e533b6628891e8ea98f0b724de7d393d82;hpb=7fbfc8d1710763c01e02f2c65f3b5024843c8771;p=ldk-java diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b2c6e4e5..917c8b4a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,7 +33,8 @@ jobs: 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 + 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 -C codegen-units=1"\nexport RUSTC_BOOTSTRAP=1|' genbindings.sh + cat genbindings.sh cd .. - name: Rebuild C bindings, and check the sample app builds + links run: cd ldk-c-bindings && export SOURCE_DATE_EPOCH=1616474792 && ./genbindings.sh ../rust-lightning && cd ..