X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ci%2Fci-tests.sh;h=7dad1436e989136ff55dcfd06408329b99059266;hb=68149a204f9da3462f15cc108b5efe7a054cd27b;hp=b2de8bc4af3cfc1b39710d012b9bda974746125d;hpb=143c0f80cba096103bfd619c522533720b6fb0f7;p=rust-lightning diff --git a/ci/ci-tests.sh b/ci/ci-tests.sh index b2de8bc4..7dad1436 100755 --- a/ci/ci-tests.sh +++ b/ci/ci-tests.sh @@ -42,6 +42,11 @@ for DIR in lightning lightning-invoice lightning-rapid-gossip-sync; do RUSTFLAGS="--cfg=c_bindings" cargo test --verbose --color always --no-default-features --features=no-std popd done +# This one only works for lightning-invoice +pushd lightning-invoice +# check that compile with no-std and serde works in lightning-invoice +cargo test --verbose --color always --no-default-features --features no-std --features serde +popd echo -e "\n\nTesting no-std build on a downstream no-std crate" # check no-std compatibility across dependencies @@ -94,4 +99,6 @@ fi echo -e "\n\nTest anchors builds" pushd lightning RUSTFLAGS="$RUSTFLAGS --cfg=anchors" cargo test --verbose --color always -p lightning +echo -e "\n\nTest Taproot builds" +RUSTFLAGS="$RUSTFLAGS --cfg=anchors --cfg=taproot" cargo test --verbose --color always -p lightning popd