From: benthecarman Date: Sun, 16 Apr 2023 18:17:22 +0000 (-0500) Subject: Add CI test for compile no-std serde lightning-invoice X-Git-Tag: v0.0.115~21^2 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=36f610c4cfd7186799a9b522d93e8cb0dc105511;p=rust-lightning Add CI test for compile no-std serde lightning-invoice --- diff --git a/ci/ci-tests.sh b/ci/ci-tests.sh index 01ef631f7..7dad1436e 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