Merge pull request #3036 from TheBlueMatt/2024-05-filter-color
[rust-lightning] / ci / check-compiles.sh
1 #!/bin/sh
2 set -e
3 set -x
4 echo Testing $(git log -1 --oneline)
5 cargo check
6 cargo doc
7 cargo doc --document-private-items
8 cd fuzz && RUSTFLAGS="--cfg=fuzzing" cargo check --features=stdin_fuzz
9 cd ../lightning && cargo check --no-default-features --features=no-std
10 cd .. && RUSTC_BOOTSTRAP=1 RUSTFLAGS="--cfg=c_bindings" cargo check -Z avoid-dev-deps