File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ jobs:
193
193
source $HOME/ext/emsdk/emsdk_env.sh # Activate Emscripten
194
194
which node
195
195
node -v
196
- node src/lpython/tests/test_lpython.js
196
+ node --experimental-wasm-bigint src/lpython/tests/test_lpython.js
197
197
198
198
test_pip_pkgs :
199
199
name : Test PIP Installable Packages
Original file line number Diff line number Diff line change @@ -32,6 +32,14 @@ endif()
32
32
# Add one main test suite for LPython, composed of many individual cpp files:
33
33
add_executable (test_lpython ${SRC} )
34
34
target_link_libraries (test_lpython lpython_lib p::doctest)
35
+ if (HAVE_BUILD_TO_WASM)
36
+ set (WASM_COMPILE_FLAGS "-g0 -fexceptions" )
37
+ set (WASM_LINK_FLAGS
38
+ "-Oz -g0 -fexceptions -Wall -Wextra -s ASSERTIONS -s ALLOW_MEMORY_GROWTH=1 -s WASM_BIGINT"
39
+ )
40
+ set_target_properties (test_lpython PROPERTIES COMPILE_FLAGS ${WASM_COMPILE_FLAGS} )
41
+ set_target_properties (test_lpython PROPERTIES LINK_FLAGS ${WASM_LINK_FLAGS} )
42
+ endif ()
35
43
add_test (test_lpython ${PROJECT_BINARY_DIR} /test_lpython)
36
44
37
45
set_target_properties (test_lpython PROPERTIES
You can’t perform that action at this time.
0 commit comments