File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 51
51
shellcheck ci/ci-tests.sh
52
52
- name : Run CI script
53
53
shell : bash # Default on Winblows is powershell
54
- run : ./ci/ci-tests.sh
54
+ run : CI_MINIMIZE_DISK_USAGE=1 ./ci/ci-tests.sh
55
55
56
56
coverage :
57
57
strategy :
Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ if [ "$RUSTC_MINOR_VERSION" -gt 55 ]; then
80
80
echo -e " \n\nTest Custom Message Macros"
81
81
pushd lightning-custom-message
82
82
cargo test --verbose --color always
83
+ [ " $CI_MINIMIZE_DISK_USAGE " != " " ] && cargo clean
83
84
popd
84
85
fi
85
86
@@ -130,17 +131,20 @@ else
130
131
[ " $RUSTC_MINOR_VERSION " -lt 60 ] && cargo update -p memchr --precise " 2.5.0" --verbose
131
132
cargo check --verbose --color always
132
133
fi
134
+ [ " $CI_MINIMIZE_DISK_USAGE " != " " ] && cargo clean
133
135
popd
134
136
135
137
# Test that we can build downstream code with only the "release pins".
136
138
pushd msrv-no-dev-deps-check
137
139
PIN_RELEASE_DEPS
138
140
cargo check
141
+ [ " $CI_MINIMIZE_DISK_USAGE " != " " ] && cargo clean
139
142
popd
140
143
141
144
if [ -f " $( which arm-none-eabi-gcc) " ]; then
142
145
pushd no-std-check
143
146
cargo build --target=thumbv7m-none-eabi
147
+ [ " $CI_MINIMIZE_DISK_USAGE " != " " ] && cargo clean
144
148
popd
145
149
fi
146
150
You can’t perform that action at this time.
0 commit comments