We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cd1dd3 commit 8f88b6dCopy full SHA for 8f88b6d
ci/emscripten.sh
@@ -10,13 +10,30 @@
10
11
set -ex
12
13
+hide_output() {
14
+ set +x
15
+ on_err="
16
+echo ERROR: An error was encountered with the build.
17
+cat /tmp/build.log
18
+exit 1
19
+"
20
+ trap "$on_err" ERR
21
+ bash -c "while true; do sleep 30; echo \$(date) - building ...; done" &
22
+ PING_LOOP_PID=$!
23
+ $@ &> /tmp/build.log
24
+ trap - ERR
25
+ kill $PING_LOOP_PID
26
+ rm -f /tmp/build.log
27
+ set -x
28
+}
29
+
30
cd /
31
curl -L https://s3.amazonaws.com/mozilla-games/emscripten/releases/emsdk-portable.tar.gz | \
32
tar -xz
33
34
cd /emsdk-portable
35
./emsdk update
-./emsdk install sdk-1.37.13-64bit
36
+hide_output ./emsdk install sdk-1.37.13-64bit
37
./emsdk activate sdk-1.37.13-64bit
38
39
# Compile and cache libc
0 commit comments