Skip to content

Commit

Permalink
Install a fixed build of emscripten. (#96)
Browse files Browse the repository at this point in the history
We've not seen issues using latest but it's likely to break us
eventually.

Closes #15
  • Loading branch information
microbit-matt-hillsdon authored Nov 15, 2022
1 parent 3357ce2 commit 19afbf0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ci-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ git submodule update --init lib/micropython-microbit-v2
(cd lib/micropython-microbit-v2 && git submodule update --init lib/micropython)

# Emscripten
VERSION="3.1.25"
export PYTHON=python3.7 # Needed by Emscripten in Netlify's build image.
git clone https://github.com/emscripten-core/emsdk.git ~/.emsdk
~/.emsdk/emsdk install latest
~/.emsdk/emsdk activate latest
git clone https://github.com/emscripten-core/emsdk.git -b $VERSION ~/.emsdk
~/.emsdk/emsdk install $VERSION
~/.emsdk/emsdk activate $VERSION
source ~/.emsdk/emsdk_env.sh

npm run test && npm run build

0 comments on commit 19afbf0

Please sign in to comment.