ci: Cleanup files on exit
Remove files to cleanup disk space so if the machine gets re-used we aren't wasting disk space. This can happen when different build types (zephyr, bluetooth, and daily) all happen on the same machine. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
9693fc8fee
commit
bab9ae2ce7
1 changed files with 3 additions and 0 deletions
|
@ -24,6 +24,9 @@ function cleanup()
|
||||||
echo "--- ccache stats at finish"
|
echo "--- ccache stats at finish"
|
||||||
ccache -s
|
ccache -s
|
||||||
|
|
||||||
|
# Cleanup on exit
|
||||||
|
rm -fr *
|
||||||
|
|
||||||
# disk usage
|
# disk usage
|
||||||
echo "--- disk usage at finish"
|
echo "--- disk usage at finish"
|
||||||
df -h
|
df -h
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue