From 47f7dfe9ee41deaf12468674e0aa4b2a793cc981 Mon Sep 17 00:00:00 2001 From: Duncan Dean Date: Mon, 4 Dec 2023 09:22:14 +0200 Subject: [PATCH] Test builds with #[cfg(dual_funding)] enabled --- ci/check-cfg-flags.py | 2 ++ ci/ci-tests.sh | 1 + 2 files changed, 3 insertions(+) diff --git a/ci/check-cfg-flags.py b/ci/check-cfg-flags.py index 0b3a4d569..0cfa2023e 100755 --- a/ci/check-cfg-flags.py +++ b/ci/check-cfg-flags.py @@ -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 diff --git a/ci/ci-tests.sh b/ci/ci-tests.sh index baec69101..59acb833f 100755 --- a/ci/ci-tests.sh +++ b/ci/ci-tests.sh @@ -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 -- 2.39.5