mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-01-18 13:24:36 +01:00
11 lines
385 B
Bash
Executable File
11 lines
385 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 --cfg=secp256k1_fuzz --cfg=hashes_fuzz" cargo check --features=stdin_fuzz
|
|
cd ../lightning && cargo check --no-default-features --features=no-std
|
|
cd .. && RUSTC_BOOTSTRAP=1 RUSTFLAGS="--cfg=c_bindings" cargo check -Z avoid-dev-deps
|