From 4873fec670052f9d516f5dc5262aece76a5430e1 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Tue, 13 Dec 2022 07:16:13 +0800 Subject: [PATCH] cibuild.sh: Remove bloaty-src and nuttx-tools repo after build to avoid the below error: destination path '/Users/runner/work/nuttx/nuttx/sources/tools/bloaty-src' already exists and is not an empty directory. Signed-off-by: Xiang Xiao --- tools/ci/cibuild.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/ci/cibuild.sh b/tools/ci/cibuild.sh index 3262d2a633e..42efbca8bae 100755 --- a/tools/ci/cibuild.sh +++ b/tools/ci/cibuild.sh @@ -156,7 +156,8 @@ function bloaty { mkdir -p "${tools}"/bloaty cmake -D BLOATY_PREFER_SYSTEM_CAPSTONE=NO -DCMAKE_SYSTEM_PREFIX_PATH="${tools}"/bloaty make install -j 6 - git clean -xfd + cd "${tools}" + rm -rf bloaty-src fi command bloaty --version @@ -249,7 +250,8 @@ function kconfig-frontends { # Avoid "aclocal/automake missing" errors touch aclocal.m4 Makefile.in make install - cd "${tools}"/nuttx-tools; git clean -xfd + cd "${tools}" + rm -rf nuttx-tools fi }