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"
|
||||
ccache -s
|
||||
|
||||
# Cleanup on exit
|
||||
rm -fr *
|
||||
|
||||
# disk usage
|
||||
echo "--- disk usage at finish"
|
||||
df -h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue