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:
Kumar Gala 2021-04-21 01:41:00 -05:00 committed by Anas Nashif
commit bab9ae2ce7

View file

@ -24,6 +24,9 @@ function cleanup()
echo "--- ccache stats at finish"
ccache -s
# Cleanup on exit
rm -fr *
# disk usage
echo "--- disk usage at finish"
df -h