From 8c9563ed70ec4c68bda219ebb1092ed665a743af Mon Sep 17 00:00:00 2001 From: Yuki Okushi <huyuumi.dev@gmail.com> Date: Tue, 2 Jun 2020 13:26:51 +0900 Subject: [PATCH] Update emsdk version --- ci/emscripten.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ci/emscripten.sh b/ci/emscripten.sh index 16be5a17..1c858edf 100644 --- a/ci/emscripten.sh +++ b/ci/emscripten.sh @@ -2,6 +2,8 @@ set -ex +EMSDK_VERSION=1.39.16 + hide_output() { set +x on_err=" @@ -23,8 +25,8 @@ git clone https://github.com/emscripten-core/emsdk.git /emsdk-portable cd /emsdk-portable # FIXME: switch to an upstream install once # https://github.com/rust-lang/rust/pull/63649 lands -hide_output ./emsdk install 1.39.12 -./emsdk activate 1.39.12 +hide_output ./emsdk install "${EMSDK_VERSION}" +./emsdk activate "${EMSDK_VERSION}" # Compile and cache libc # shellcheck disable=SC1091 @@ -34,7 +36,6 @@ HOME=/emsdk-portable/ emcc a.c rm -f a.* # Make emsdk usable by any user -cp /root/.emscripten /emsdk-portable chmod a+rxw -R /emsdk-portable # node 8 is required to run wasm -- GitLab