X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ci%2Fci-tests.sh;h=c24f344f6df2eca76b73190e2d6696d384809cb2;hb=834f4d710c595c6927c293e2cb90e62dbc4f56ba;hp=6b89a98fddadc2530cce26849acbf6e98d34b480;hpb=e1707baf15c93b1cd237992ca1da73d5350e386d;p=rust-lightning diff --git a/ci/ci-tests.sh b/ci/ci-tests.sh index 6b89a98f..c24f344f 100755 --- a/ci/ci-tests.sh +++ b/ci/ci-tests.sh @@ -80,6 +80,7 @@ if [ "$RUSTC_MINOR_VERSION" -gt 55 ]; then echo -e "\n\nTest Custom Message Macros" pushd lightning-custom-message cargo test --verbose --color always + [ "$CI_MINIMIZE_DISK_USAGE" != "" ] && cargo clean popd fi @@ -130,17 +131,20 @@ else [ "$RUSTC_MINOR_VERSION" -lt 60 ] && cargo update -p memchr --precise "2.5.0" --verbose cargo check --verbose --color always fi +[ "$CI_MINIMIZE_DISK_USAGE" != "" ] && cargo clean popd # Test that we can build downstream code with only the "release pins". pushd msrv-no-dev-deps-check PIN_RELEASE_DEPS cargo check +[ "$CI_MINIMIZE_DISK_USAGE" != "" ] && cargo clean popd if [ -f "$(which arm-none-eabi-gcc)" ]; then pushd no-std-check cargo build --target=thumbv7m-none-eabi + [ "$CI_MINIMIZE_DISK_USAGE" != "" ] && cargo clean popd fi