Test anchors build in CI

This commit is contained in:
Wilmer Paulino 2023-02-14 16:32:45 -08:00
parent 2cc48c5a3c
commit 881656ba9e
No known key found for this signature in database
GPG key ID: 634FE5FC544DCA31
2 changed files with 6 additions and 0 deletions

View file

@ -179,6 +179,7 @@ jobs:
cargo check --no-default-features --features=no-std --release
cargo check --no-default-features --features=futures --release
cargo doc --release
RUSTDOCFLAGS="--cfg=anchors" cargo doc --release
fuzz:
runs-on: ubuntu-latest

View file

@ -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