Skip to content

Commit 2385471

Browse files
[ci] Revert emscripten to 4.0.21
Latest version reaches an internal compiler error.
1 parent 6f7ee16 commit 2385471

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/emscripten.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ jobs:
2424
run: |
2525
echo "Build script for wasm"
2626
playwright install
27-
./test/test_wasm/test_wasm.sh
27+
./test/test_wasm/test_wasm.sh 4.0.21

test/test_wasm/test_wasm.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ SRC_DIR=$TEST_WASM_DIR/../..
88

99
# the emsdk dir can be passed as optional argument
1010
# if not passed, it will be downloaded in the current dir
11-
if [ $# -eq 0 ]
11+
if [ $# -eq 0 -o ! -d "$1" ]
1212
then
13+
EMSCRIPTEN_VERSION=${1:-latest}
1314
git clone https://github.com/emscripten-core/emsdk
1415
cd emsdk
15-
./emsdk install latest
16-
./emsdk activate latest
16+
./emsdk install ${EMSCRIPTEN_VERSION}
17+
./emsdk activate ${EMSCRIPTEN_VERSION}
1718
source ./emsdk_env.sh
18-
1919
else
2020
EMSCRIPTEN_DIR=$1
2121
source $EMSCRIPTEN_DIR/emsdk_env.sh
@@ -40,4 +40,4 @@ emmake make -j4
4040
cd ..
4141

4242
# run tests in browser
43-
python $TEST_WASM_DIR/test_wasm_playwright.py build/test
43+
python $TEST_WASM_DIR/test_wasm_playwright.py build/test

0 commit comments

Comments
 (0)