X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=.github%2Fworkflows%2Fbuild.yml;h=be223c3739ac766ef3d4f25bb4acd24544abc4a6;hb=f2f4271984527706b6ec1f740e9005fb0b7d4af2;hp=4eccfd06bf8cfc33f2f6e154be9ffe6245b06e0c;hpb=52e8a0eb75f60f5d7fca2bc7a25c5aae92a13053;p=ldk-c-bindings diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4eccfd0..be223c3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,18 +9,18 @@ jobs: matrix: # Ubuntu's version of rustc uses its own LLVM instead of being a real native package. # This leaves us with an incompatible LLVM version when linking. Instead, use a real OS. - distro: [ "debian:bullseye", "fedora:39" ] + distro: [ "debian:bookworm", "fedora:39" ] runs-on: ubuntu-latest container: ${{ matrix.distro }} env: TOOLCHAIN: stable steps: - name: Install native Rust toolchain, Valgrind, and build utilitis - if: "matrix.distro == 'debian:bullseye'" + if: "matrix.distro == 'debian:bookworm'" run: | apt-get update apt-get -y dist-upgrade - apt-get -y install cargo libstd-rust-dev-wasm32 valgrind lld git g++ clang wget + apt-get -y install cargo libstd-rust-dev-wasm32 wasi-libc valgrind lld git g++ clang wget - name: Install native Rust toolchain, Valgrind, and build utilitis if: "matrix.distro == 'fedora:39'" run: | @@ -46,9 +46,9 @@ jobs: run: | git clone https://github.com/rust-bitcoin/rust-lightning cd rust-lightning - git checkout 0.0.118-bindings + git checkout 0.0.121-bindings - name: Pin memchr - if: "matrix.distro == 'debian:bullseye'" + if: "matrix.distro == 'debian:bookworm'" run: | # Pin memchr until we can remove it cd rust-lightning @@ -114,7 +114,7 @@ jobs: run: | git clone https://github.com/rust-bitcoin/rust-lightning cd rust-lightning - git checkout 0.0.118-bindings + git checkout 0.0.121-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 @@ -161,7 +161,7 @@ jobs: run: | git clone https://github.com/rust-bitcoin/rust-lightning cd rust-lightning - git checkout 0.0.118-bindings + git checkout 0.0.121-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