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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to