@@ -4,18 +4,27 @@ on: [push, pull_request]
44
55jobs :
66 check_bindings :
7+ strategy :
8+ fail-fast : false
9+ matrix :
10+ # Ubuntu's version of rustc uses its own LLVM instead of being a real native package.
11+ # This leaves us with an incompatible LLVM version when linking. Instead, use a real OS.
12+ distro : [ "debian:bullseye", "fedora:39" ]
713 runs-on : ubuntu-latest
8- # Ubuntu's version of rustc uses its own LLVM instead of being a real native package.
9- # This leaves us with an incompatible LLVM version when linking. Instead, use a real OS.
10- container : debian:bullseye
14+ container : ${{ matrix.distro }}
1115 env :
1216 TOOLCHAIN : stable
1317 steps :
1418 - name : Install native Rust toolchain, Valgrind, and build utilitis
19+ if : " matrix.distro == 'debian:bullseye'"
1520 run : |
1621 apt-get update
1722 apt-get -y dist-upgrade
1823 apt-get -y install cargo libstd-rust-dev-wasm32 valgrind lld git g++ clang wget
24+ - name : Install native Rust toolchain, Valgrind, and build utilitis
25+ if : " matrix.distro == 'fedora:39'"
26+ run : |
27+ dnf -y install cargo rust-std-static-wasm32-wasi valgrind lld git g++ clang wget which diffutils
1928 - name : Checkout source code
2029 uses : actions/checkout@v2
2130 with :
3847 git clone https://github.com/rust-bitcoin/rust-lightning
3948 cd rust-lightning
4049 git checkout 0.0.118-bindings
50+ - name : Pin memchr
51+ if : " matrix.distro == 'debian:bullseye'"
52+ run : |
4153 # Pin memchr until we can remove it
54+ cd rust-lightning
4255 cargo update -p memchr --precise "2.5.0" --verbose
4356 - name : Fix Github Actions to not be broken
4457 run : git config --global --add safe.directory /__w/ldk-c-bindings/ldk-c-bindings
0 commit comments