Skip to content

Commit 9571988

Browse files
committed
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.
1 parent aa334d5 commit 9571988

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ci/ci-tests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,5 +173,7 @@ fi
173173

174174
echo -e "\n\nTest cfg-flag builds"
175175
RUSTFLAGS="--cfg=taproot" cargo test --verbose --color always -p lightning
176+
[ "$CI_MINIMIZE_DISK_USAGE" != "" ] && cargo clean
176177
RUSTFLAGS="--cfg=async_signing" cargo test --verbose --color always -p lightning
178+
[ "$CI_MINIMIZE_DISK_USAGE" != "" ] && cargo clean
177179
RUSTFLAGS="--cfg=dual_funding" cargo test --verbose --color always -p lightning

0 commit comments

Comments
 (0)