From: Matt Corallo Date: Tue, 12 Mar 2024 15:19:51 +0000 (+0000) Subject: Avoid new "out of disk space" issues in CI X-Git-Tag: v0.0.123-beta~42^2 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=refs%2Fheads%2F2023-04-ci-fix;p=rust-lightning 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. --- 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