From 748c973d4427748f33d2e044cbb7b57da3207b61 Mon Sep 17 00:00:00 2001 From: abejgonzalez Date: Mon, 11 Oct 2021 09:49:27 -0700 Subject: [PATCH] Clean extra disk space after build toolchains --- .github/scripts/build-toolchains.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/scripts/build-toolchains.sh b/.github/scripts/build-toolchains.sh index 160b6f5a..cd1abb1d 100755 --- a/.github/scripts/build-toolchains.sh +++ b/.github/scripts/build-toolchains.sh @@ -15,4 +15,7 @@ if [ ! -d "$HOME/$1-install" ]; then # init all submodules including the tools CHIPYARD_DIR="$LOCAL_CHIPYARD_DIR" NPROC=$CI_MAKE_NPROC $LOCAL_CHIPYARD_DIR/scripts/build-toolchains.sh $1 + + # de-init the toolchain area to save on space + git submodule deinit $LOCAL_CHIPYARD_DIR/toolchains/$1 fi