File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 5151 shellcheck ci/ci-tests.sh
5252 - name : Run CI script
5353 shell : bash # Default on Winblows is powershell
54- run : ./ci/ci-tests.sh
54+ run : CI_MINIMIZE_DISK_USAGE=1 ./ci/ci-tests.sh
5555
5656 coverage :
5757 strategy :
Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ if [ "$RUSTC_MINOR_VERSION" -gt 55 ]; then
8080 echo -e " \n\nTest Custom Message Macros"
8181 pushd lightning-custom-message
8282 cargo test --verbose --color always
83+ [ " $CI_MINIMIZE_DISK_USAGE " != " " ] && cargo clean
8384 popd
8485fi
8586
@@ -130,17 +131,20 @@ else
130131 [ " $RUSTC_MINOR_VERSION " -lt 60 ] && cargo update -p memchr --precise " 2.5.0" --verbose
131132 cargo check --verbose --color always
132133fi
134+ [ " $CI_MINIMIZE_DISK_USAGE " != " " ] && cargo clean
133135popd
134136
135137# Test that we can build downstream code with only the "release pins".
136138pushd msrv-no-dev-deps-check
137139PIN_RELEASE_DEPS
138140cargo check
141+ [ " $CI_MINIMIZE_DISK_USAGE " != " " ] && cargo clean
139142popd
140143
141144if [ -f " $( which arm-none-eabi-gcc) " ]; then
142145 pushd no-std-check
143146 cargo build --target=thumbv7m-none-eabi
147+ [ " $CI_MINIMIZE_DISK_USAGE " != " " ] && cargo clean
144148 popd
145149fi
146150
You can’t perform that action at this time.
0 commit comments