File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -178,18 +178,19 @@ function ci_esp8266_build {
178
178
# ports/webassembly
179
179
180
180
function ci_webassembly_setup {
181
+ npm install terser
181
182
git clone https://github.com/emscripten-core/emsdk.git
182
183
(cd emsdk && ./emsdk install latest && ./emsdk activate latest)
183
184
}
184
185
185
186
function ci_webassembly_build {
186
187
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
188
190
}
189
191
190
192
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
193
194
}
194
195
195
196
# #######################################################################################
You can’t perform that action at this time.
0 commit comments