Skip to content

Commit 19afbf0

Browse files
Install a fixed build of emscripten. (#96)
We've not seen issues using latest but it's likely to break us eventually. Closes #15
1 parent 3357ce2 commit 19afbf0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ci-build.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ git submodule update --init lib/micropython-microbit-v2
66
(cd lib/micropython-microbit-v2 && git submodule update --init lib/micropython)
77

88
# Emscripten
9+
VERSION="3.1.25"
910
export PYTHON=python3.7 # Needed by Emscripten in Netlify's build image.
10-
git clone https://github.com/emscripten-core/emsdk.git ~/.emsdk
11-
~/.emsdk/emsdk install latest
12-
~/.emsdk/emsdk activate latest
11+
git clone https://github.com/emscripten-core/emsdk.git -b $VERSION ~/.emsdk
12+
~/.emsdk/emsdk install $VERSION
13+
~/.emsdk/emsdk activate $VERSION
1314
source ~/.emsdk/emsdk_env.sh
1415

1516
npm run test && npm run build

0 commit comments

Comments
 (0)