Skip to content

Commit badc010

Browse files
committed
tools/ci.sh: Update webassembly CI tests.
Signed-off-by: Damien George <[email protected]>
1 parent c1513a0 commit badc010

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tools/ci.sh

+4-3
Original file line numberDiff line numberDiff line change
@@ -178,18 +178,19 @@ function ci_esp8266_build {
178178
# ports/webassembly
179179

180180
function ci_webassembly_setup {
181+
npm install terser
181182
git clone https://github.com/emscripten-core/emsdk.git
182183
(cd emsdk && ./emsdk install latest && ./emsdk activate latest)
183184
}
184185

185186
function ci_webassembly_build {
186187
source emsdk/emsdk_env.sh
187-
make ${MAKEOPTS} -C ports/webassembly
188+
make ${MAKEOPTS} -C ports/webassembly VARIANT=pyscript submodules
189+
make ${MAKEOPTS} -C ports/webassembly VARIANT=pyscript
188190
}
189191

190192
function ci_webassembly_run_tests {
191-
# This port is very slow at running, so only run a few of the tests.
192-
(cd tests && MICROPY_MICROPYTHON=../ports/webassembly/node_run.sh ./run-tests.py -j1 basics/builtin_*.py)
193+
make -C ports/webassembly VARIANT=pyscript test_min
193194
}
194195

195196
########################################################################################

0 commit comments

Comments
 (0)