From bc97b82de4a6162485519c7dbb776c12e5a1174e Mon Sep 17 00:00:00 2001 From: Arik Sosman Date: Thu, 30 Mar 2023 22:59:21 -0700 Subject: [PATCH] Add Taproot CI test. --- .github/workflows/build.yml | 9 +++++++++ ci/ci-tests.sh | 2 ++ 2 files changed, 11 insertions(+) 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 -- 2.39.5