diff options
| author | Damien George <damien@micropython.org> | 2024-02-02 12:03:25 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2024-03-22 14:31:25 +1100 |
| commit | badc0106bdc20e95d427184395c43ffd9d9beea8 (patch) | |
| tree | da3cf6df07cf177978ff3cfa884f65aa39aaa1ab | |
| parent | c1513a078dcde3eba74c4572b62b354aed404e21 (diff) | |
tools/ci.sh: Update webassembly CI tests.
Signed-off-by: Damien George <damien@micropython.org>
| -rwxr-xr-x | tools/ci.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/ci.sh b/tools/ci.sh index f94f23893..ad5e79c4a 100755 --- a/tools/ci.sh +++ b/tools/ci.sh @@ -178,18 +178,19 @@ function ci_esp8266_build { # ports/webassembly function ci_webassembly_setup { + npm install terser git clone https://github.com/emscripten-core/emsdk.git (cd emsdk && ./emsdk install latest && ./emsdk activate latest) } function ci_webassembly_build { source emsdk/emsdk_env.sh - make ${MAKEOPTS} -C ports/webassembly + make ${MAKEOPTS} -C ports/webassembly VARIANT=pyscript submodules + make ${MAKEOPTS} -C ports/webassembly VARIANT=pyscript } function ci_webassembly_run_tests { - # This port is very slow at running, so only run a few of the tests. - (cd tests && MICROPY_MICROPYTHON=../ports/webassembly/node_run.sh ./run-tests.py -j1 basics/builtin_*.py) + make -C ports/webassembly VARIANT=pyscript test_min } ######################################################################################## |
