Test anchors build in CI
[rust-lightning] / ci / ci-tests.sh
index 7b0beb90fa9e3d59c851ec091a35b8ef53f902fa..5d229a03f197133025bbd7e8528f0b15764c2b21 100755 (executable)
@@ -89,3 +89,8 @@ if [ "$RUSTC_MINOR_VERSION" -gt 55 ]; then
        cargo test --verbose --color always
        popd
 fi
+
+echo -e "\n\nTest anchors builds"
+pushd lightning
+RUSTFLAGS="$RUSTFLAGS --cfg=anchors" cargo test --verbose --color always -p lightning
+popd