Add Taproot CI test.
[rust-lightning] / .github / workflows / build.yml
index 72220d831d3bfe60085df12b16d3c0a8e5be1de2..a08549c0c5c73357a3c9ec07fa10dcf9eab1d100 100644 (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