Skip to content

Commit

Permalink
Try to update emsdk version
Browse files Browse the repository at this point in the history
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
  • Loading branch information
JohnTitor committed Sep 24, 2022
1 parent 1f1527e commit 191a1fa
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions ci/emscripten.sh
Expand Up @@ -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
Expand Down

0 comments on commit 191a1fa

Please sign in to comment.