From 36f610c4cfd7186799a9b522d93e8cb0dc105511 Mon Sep 17 00:00:00 2001 From: benthecarman Date: Sun, 16 Apr 2023 13:17:22 -0500 Subject: [PATCH] Add CI test for compile no-std serde lightning-invoice --- ci/ci-tests.sh | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.39.5