]> git.bitcoin.ninja Git - ldk-c-bindings/commitdiff
Bump CI to Debian bookworm due to new LDK MSRV
authorMatt Corallo <git@bluematt.me>
Thu, 25 Jan 2024 04:24:57 +0000 (04:24 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 25 Jan 2024 17:22:14 +0000 (17:22 +0000)
.github/workflows/build.yml

index 1c90f63ae1aa5e651451a4bfb3856dd2955cd466..be223c3739ac766ef3d4f25bb4acd24544abc4a6 100644 (file)
@@ -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: |
@@ -48,7 +48,7 @@ jobs:
           cd rust-lightning
           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