X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=.github%2Fworkflows%2Fbuild.yml;h=d754a902de32ec496f60afe463f247173e9d5ea6;hb=7d60d112e2119d789fcab10c44bb8eb045280114;hp=32d9b3c19052c03cb76de86634a1a6fda2ff2863;hpb=6db82fbaa9d4e2af27a45d18e7d4f568202a190f;p=ldk-c-bindings diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 32d9b3c..d754a90 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,9 +37,18 @@ jobs: run: | git clone https://github.com/rust-bitcoin/rust-lightning cd rust-lightning - git checkout 0.0.115-bindings + git checkout 0.0.118-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, 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 @@ -92,7 +101,7 @@ jobs: run: | git clone https://github.com/rust-bitcoin/rust-lightning cd rust-lightning - git checkout 0.0.115-bindings + git checkout 0.0.118-bindings - name: Fix Github Actions to not be broken run: git config --global --add safe.directory /__w/ldk-c-bindings/ldk-c-bindings - name: Fetch MacOS SDK @@ -110,8 +119,9 @@ jobs: strategy: matrix: include: - - platform: macos-10.15 - platform: macos-11 + - platform: macos-12 + - platform: macos-13 runs-on: ${{ matrix.platform }} env: TOOLCHAIN: stable @@ -138,7 +148,7 @@ jobs: run: | git clone https://github.com/rust-bitcoin/rust-lightning cd rust-lightning - git checkout 0.0.115-bindings + git checkout 0.0.118-bindings - name: Rebuild bindings using Apple clang, and check the sample app builds + links run: ./genbindings.sh ./rust-lightning true - name: Rebuild bindings using upstream clang, and check the sample app builds + links