From 191a1fae5247c957df71c76156bc12d9b982bf39 Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Sat, 24 Sep 2022 22:17:42 +0900 Subject: [PATCH] Try to update emsdk version Signed-off-by: Yuki Okushi --- ci/emscripten.sh | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/ci/emscripten.sh b/ci/emscripten.sh index c16e793bb4e1f..ee58b4062bf43 100644 --- a/ci/emscripten.sh +++ b/ci/emscripten.sh @@ -2,28 +2,11 @@ set -ex -EMSDK_VERSION=1.39.20 - -hide_output() { - set +x - on_err=" -echo ERROR: An error was encountered with the build. -cat /tmp/build.log -exit 1 -" - trap '$on_err' ERR - bash -c "while true; do sleep 30; echo \$(date) - building ...; done" & - PING_LOOP_PID=$! - "${@}" &> /tmp/build.log - trap - ERR - kill $PING_LOOP_PID - rm -f /tmp/build.log - set -x -} +EMSDK_VERSION=3.1.23 git clone https://github.com/emscripten-core/emsdk.git /emsdk-portable cd /emsdk-portable -hide_output ./emsdk install "${EMSDK_VERSION}" +./emsdk install "${EMSDK_VERSION}" ./emsdk activate "${EMSDK_VERSION}" # Compile and cache libc