Skip to content

Commit 36f610c

Browse files
committed
Add CI test for compile no-std serde lightning-invoice
1 parent 778c752 commit 36f610c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ci/ci-tests.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ for DIR in lightning lightning-invoice lightning-rapid-gossip-sync; do
4242
RUSTFLAGS="--cfg=c_bindings" cargo test --verbose --color always --no-default-features --features=no-std
4343
popd
4444
done
45+
# This one only works for lightning-invoice
46+
pushd lightning-invoice
47+
# check that compile with no-std and serde works in lightning-invoice
48+
cargo test --verbose --color always --no-default-features --features no-std --features serde
49+
popd
4550

4651
echo -e "\n\nTesting no-std build on a downstream no-std crate"
4752
# check no-std compatibility across dependencies

0 commit comments

Comments
 (0)