Skip to content

Commit 58673c1

Browse files
[WASM] Cleanup build directory
1 parent c6a5292 commit 58673c1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

utils/webassembly/build-toolchain.sh

+5
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,10 @@ rsync -v -a $SOURCE_PATH/install/$TOOLCHAIN_NAME/usr/lib/ $HOST_TOOLCHAIN_SDK/us
8585
$UTILS_PATH/build-foundation.sh $HOST_TOOLCHAIN_SDK
8686
$UTILS_PATH/build-xctest.sh $HOST_TOOLCHAIN_SDK
8787

88+
# Cleanup build directory on CI
89+
if [[ -z "${CI}" ]]; then
90+
rm -rf $SOURCE_PATH/build/Ninja-ReleaseAssert/
91+
fi
92+
8893
cd $HOST_TOOLCHAIN_DESTDIR
8994
tar cfz $PACKAGE_ARTIFACT $TOOLCHAIN_NAME

0 commit comments

Comments
 (0)