Skip to content

Commit 881656b

Browse files
committed
Test anchors build in CI
1 parent 2cc48c5 commit 881656b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ jobs:
179179
cargo check --no-default-features --features=no-std --release
180180
cargo check --no-default-features --features=futures --release
181181
cargo doc --release
182+
RUSTDOCFLAGS="--cfg=anchors" cargo doc --release
182183
183184
fuzz:
184185
runs-on: ubuntu-latest

ci/ci-tests.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,8 @@ if [ "$RUSTC_MINOR_VERSION" -gt 55 ]; then
8989
cargo test --verbose --color always
9090
popd
9191
fi
92+
93+
echo -e "\n\nTest anchors builds"
94+
pushd lightning
95+
RUSTFLAGS="$RUSTFLAGS --cfg=anchors" cargo test --verbose --color always -p lightning
96+
popd

0 commit comments

Comments
 (0)