From: Arik Sosman Date: Fri, 31 Mar 2023 05:59:21 +0000 (-0700) Subject: Add Taproot CI test. X-Git-Tag: v0.0.115~40^2 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=bc97b82de4a6162485519c7dbb776c12e5a1174e;p=rust-lightning Add Taproot CI test. --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 72220d831..a08549c0c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/ci/ci-tests.sh b/ci/ci-tests.sh index b2de8bc4a..01ef631f7 100755 --- a/ci/ci-tests.sh +++ b/ci/ci-tests.sh @@ -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