Merge pull request #2139 from TheBlueMatt/2023-03-metadata-prefactors
[rust-lightning] / .github / workflows / build.yml
index 881e4f24749f36cea71f75f7fa2921c5190263ab..a08549c0c5c73357a3c9ec07fa10dcf9eab1d100 100644 (file)
@@ -179,6 +179,16 @@ jobs:
           cargo check --no-default-features --features=no-std --release
           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