rust-lightning/ci/check-compiles.sh

11 lines
369 B
Bash
Raw Normal View History

#!/bin/sh
set -e
set -x
2024-04-25 15:32:32 +02:00
echo "Testing $(git log -1 --oneline)"
cargo check
cargo doc
cargo doc --document-private-items
2024-05-11 10:55:02 +08:00
cd fuzz && RUSTFLAGS="--cfg=fuzzing --cfg=secp256k1_fuzz --cfg=hashes_fuzz" cargo check --features=stdin_fuzz
cd ../lightning && cargo check --no-default-features
cd .. && RUSTC_BOOTSTRAP=1 RUSTFLAGS="--cfg=c_bindings" cargo check -Z avoid-dev-deps