Add Taproot CI test.

This commit is contained in:
Arik Sosman 2023-03-30 22:59:21 -07:00
parent 15dbe55e67
commit bc97b82de4
No known key found for this signature in database
GPG Key ID: F4FB5A3366C4D92E
2 changed files with 11 additions and 0 deletions

View File

@ -180,6 +180,15 @@ jobs:
cargo check --no-default-features --features=futures --release
cargo doc --release
RUSTDOCFLAGS="--cfg=anchors" cargo doc --release
- name: Run cargo check for Taproot build.
run: |
cargo check --release
cargo check --no-default-features --features=no-std --release
cargo check --no-default-features --features=futures --release
cargo doc --release
env:
RUSTFLAGS: '--cfg=anchors --cfg=taproot'
RUSTDOCFLAGS: '--cfg=anchors --cfg=taproot'
fuzz:
runs-on: ubuntu-latest

View File

@ -94,4 +94,6 @@ fi
echo -e "\n\nTest anchors builds"
pushd lightning
RUSTFLAGS="$RUSTFLAGS --cfg=anchors" cargo test --verbose --color always -p lightning
echo -e "\n\nTest Taproot builds"
RUSTFLAGS="$RUSTFLAGS --cfg=anchors --cfg=taproot" cargo test --verbose --color always -p lightning
popd