Test builds with #[cfg(dual_funding)] enabled
authorDuncan Dean <git@dunxen.dev>
Mon, 4 Dec 2023 07:22:14 +0000 (09:22 +0200)
committerDuncan Dean <git@dunxen.dev>
Tue, 20 Feb 2024 07:15:11 +0000 (09:15 +0200)
ci/check-cfg-flags.py
ci/ci-tests.sh

index 0b3a4d569ad6669cc285436bbaae12e0dd44dd94..0cfa2023ee2b9844a07601548584d7c687f43e04 100755 (executable)
@@ -96,6 +96,8 @@ def check_cfg_tag(cfg):
         pass
     elif cfg == "require_route_graph_test":
         pass
+    elif cfg == "dual_funding":
+        pass
     else:
         print("Bad cfg tag: " + cfg)
         assert False
index baec69101303978daeb499df225517f39867398f..59acb833f1f2d4fe5d7b35a03ef835bb1f682e85 100755 (executable)
@@ -174,3 +174,4 @@ fi
 echo -e "\n\nTest cfg-flag builds"
 RUSTFLAGS="--cfg=taproot" cargo test --verbose --color always -p lightning
 RUSTFLAGS="--cfg=async_signing" cargo test --verbose --color always -p lightning
+RUSTFLAGS="--cfg=dual_funding" cargo test --verbose --color always -p lightning