X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=ldk-c-bindings;a=blobdiff_plain;f=.github%2Fworkflows%2Fbuild.yml;fp=.github%2Fworkflows%2Fbuild.yml;h=1e042e1d31a3fcbaaf2a0bef040f939ff8ed9bbe;hp=0f85d7c5f71977d01dc8e230b48034fe7f0f1d58;hb=c1c9f6e11f25f39b39bebabfc2b8478d62c896ef;hpb=aba59d9380603d52cf0ec3d1812f4cf34806b0af diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0f85d7c..1e042e1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,13 +38,17 @@ jobs: git clone https://github.com/rust-bitcoin/rust-lightning cd rust-lightning git checkout 0.0.117-bindings + # Pin memchr until we can remove it + cargo update -p memchr --precise "2.5.0" --verbose - name: Fix Github Actions to not be broken run: git config --global --add safe.directory /__w/ldk-c-bindings/ldk-c-bindings - - name: Pin proc-macro and quote to meet MSRV + - name: Pin proc-macro, quote and memchr to meet MSRV run: | cd c-bindings-gen cargo update -p quote --precise "1.0.30" --verbose cargo update -p proc-macro2 --precise "1.0.65" --verbose + cd ../lightning-c-bindings + cargo update -p memchr --precise "2.5.0" --verbose - name: Rebuild bindings without std, and check the sample app builds + links run: ./genbindings.sh ./rust-lightning false - name: Rebuild bindings, and check the sample app builds + links