Skip to content

Install a fixed build of emscripten #96

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 15, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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