You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@teaclave.apache.org by hs...@apache.org on 2023/03/07 05:29:24 UTC

[incubator-teaclave] 01/03: [CI] Clean up disk space after build

This is an automated email from the ASF dual-hosted git repository.

hsun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave.git

commit cfe2591c7b6df91b6f8fa7c62acccae5a200d075
Author: sunhe05 <su...@baidu.com>
AuthorDate: Wed Feb 8 04:00:16 2023 +0000

    [CI] Clean up disk space after build
---
 cmake/scripts/build_in_ci.sh | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/cmake/scripts/build_in_ci.sh b/cmake/scripts/build_in_ci.sh
index b0292a16..ffcebb44 100755
--- a/cmake/scripts/build_in_ci.sh
+++ b/cmake/scripts/build_in_ci.sh
@@ -28,9 +28,7 @@ ln -sf /root/.cargo ~/.cargo
 git config --global --add safe.directory /__w/incubator-teaclave/incubator-teaclave
 
 # Build
-. /opt/sgxsdk/environment &&
-. ~/.cargo/env &&
-mkdir -p build &&
-cd build &&
-cmake -DCMAKE_BUILD_TYPE=Debug -DSGX_SIM_MODE=ON -DTEST_MODE=ON .. &&
-VERBOSE=1 make -j
+. /opt/sgxsdk/environment && . ~/.cargo/env && \
+mkdir -p build && pushd build && \
+cmake -DCMAKE_BUILD_TYPE=Debug -DSGX_SIM_MODE=ON -DTEST_MODE=ON .. && \
+VERBOSE=1 make -j && rm -rf target


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@teaclave.apache.org
For additional commands, e-mail: commits-help@teaclave.apache.org