rust-lightning/ci/check-compiles.sh
Matt Corallo 692b0c78da Set cfg=fuzzing when building fuzz crate in CI
We will likely drop the fuzztarget feature soon, and should thus be
setting cfg=fuzzing explicitly anyway.
2021-08-10 22:26:31 +00:00

9 lines
260 B
Bash
Executable file

#!/bin/sh
set -e
set -x
echo Testing $(git log -1 --oneline)
cargo check
cargo doc
cargo doc --document-private-items
cd fuzz && RUSTFLAGS="--cfg=fuzzing" cargo check --features=stdin_fuzz
cd ../lightning && cargo check --no-default-features --features=no-std