Skip to content

Commit bd4f333

Browse files
committed
CI: Use the build_to_wasm.sh script
1 parent 2474437 commit bd4f333

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -170,21 +170,7 @@ jobs:
170170
run: |
171171
set -ex
172172
source $HOME/ext/emsdk/emsdk_env.sh # Activate Emscripten
173-
./build0.sh
174-
emcmake cmake . -GNinja \
175-
-DCMAKE_BUILD_TYPE=Debug \
176-
-DCMAKE_CXX_FLAGS_DEBUG="-Wall -Wextra -fexceptions" \
177-
-DWITH_LLVM=no \
178-
-DLPYTHON_BUILD_TO_WASM=yes \
179-
-DLFORTRAN_BUILD_ALL=yes \
180-
-DWITH_STACKTRACE=no \
181-
-DWITH_RUNTIME_STACKTRACE=no \
182-
-DCMAKE_PREFIX_PATH="$CONDA_PREFIX" \
183-
-DCMAKE_INSTALL_PREFIX=`pwd`/inst \
184-
-DCMAKE_C_COMPILER_LAUNCHER=sccache \
185-
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache
186-
187-
cmake --build . -j16 --target install
173+
./build_to_wasm.sh
188174
189175
- name: Test built lpython.wasm
190176
shell: bash -l {0}

0 commit comments

Comments
 (0)