projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add CI test for compile no-std serde lightning-invoice
[rust-lightning]
/
ci
/
ci-tests.sh
diff --git
a/ci/ci-tests.sh
b/ci/ci-tests.sh
index 01ef631f7835e36edfbddfb02fec400b5193deed..7dad1436e989136ff55dcfd06408329b99059266 100755
(executable)
--- 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
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
echo -e "\n\nTesting no-std build on a downstream no-std crate"
# check no-std compatibility across dependencies