From 9571988d212395d35319818e005faca6d6e48dc2 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Tue, 12 Mar 2024 15:19:51 +0000 Subject: [PATCH] Avoid new "out of disk space" issues in CI Our 1.63 build on Ubuntu has been failing for quite some time because it runs out of disk space trying to build tests in the last cfg-flag steps. Thus, we add a few new `cargo clean`s here to fix it. --- ci/ci-tests.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci/ci-tests.sh b/ci/ci-tests.sh index 59acb833f..5cae6d45d 100755 --- a/ci/ci-tests.sh +++ b/ci/ci-tests.sh @@ -173,5 +173,7 @@ fi echo -e "\n\nTest cfg-flag builds" RUSTFLAGS="--cfg=taproot" cargo test --verbose --color always -p lightning +[ "$CI_MINIMIZE_DISK_USAGE" != "" ] && cargo clean RUSTFLAGS="--cfg=async_signing" cargo test --verbose --color always -p lightning +[ "$CI_MINIMIZE_DISK_USAGE" != "" ] && cargo clean RUSTFLAGS="--cfg=dual_funding" cargo test --verbose --color always -p lightning -- 2.39.5