Skip to content

Commit 7633e04

Browse files
committed
Add Taproot CI test.
1 parent ca58696 commit 7633e04

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,15 @@ jobs:
180180
cargo check --no-default-features --features=futures --release
181181
cargo doc --release
182182
RUSTDOCFLAGS="--cfg=anchors" cargo doc --release
183+
- name: Run cargo check for Taproot build.
184+
run: |
185+
cargo check --release
186+
cargo check --no-default-features --features=no-std --release
187+
cargo check --no-default-features --features=futures --release
188+
cargo doc --release
189+
env:
190+
RUSTFLAGS: '--cfg=anchors --cfg=taproot'
191+
RUSTDOCFLAGS: '--cfg=anchors --cfg=taproot'
183192

184193
fuzz:
185194
runs-on: ubuntu-latest

ci/ci-tests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,6 @@ fi
9494
echo -e "\n\nTest anchors builds"
9595
pushd lightning
9696
RUSTFLAGS="$RUSTFLAGS --cfg=anchors" cargo test --verbose --color always -p lightning
97+
echo -e "\n\nTest Taproot builds"
98+
RUSTFLAGS="$RUSTFLAGS --cfg=anchors --cfg=taproot" cargo test --verbose --color always -p lightning
9799
popd

0 commit comments

Comments
 (0)