File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -343,30 +343,23 @@ jobs:
343343 matrix :
344344 include :
345345 - wasm_arch : wasm32
346- target_flag : " "
346+ cc_flags : " "
347347 - wasm_arch : wasm64
348- target_flag : " --target=wasm64-wasi "
348+ cc_flags : " -sMEMORY64=1 "
349349
350350 steps :
351351 - uses : actions/checkout@v6
352352
353- - name : install-wasmtime
354- run : |
355- curl https://wasmtime.dev/install.sh -sSf | bash
356- echo "$HOME/.wasmtime/bin" >> $GITHUB_PATH
357-
358- - name : install-wasi-sdk
359- run : |
360- WASI_SDK_VERSION=24
361- curl -LO "https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VERSION}/wasi-sdk-${WASI_SDK_VERSION}.0-x86_64-linux.tar.gz"
362- tar -xzf wasi-sdk-${WASI_SDK_VERSION}.0-x86_64-linux.tar.gz
363- echo "WASI_SDK_PATH=${{ github.workspace }}/$(ls -d wasi-sdk-* | head -n 1)" >> $GITHUB_ENV
353+ - name : setup-emscripten
354+ uses : mymindstorm/setup-emsdk@v14
355+ with :
356+ version : ' latest'
364357
365358 - name : run-wasm-matrix-tests
366359 run : |
367360 make test_matrix \
368- CC="${{ env.WASI_SDK_PATH }}/bin/clang ${{ matrix.target_flag }}" \
369- RUNNER="wasmtime " \
361+ CC="emcc ${{ matrix.cc_flags }}" \
362+ RUNNER="node " \
370363 SAN_FLAGS="" \
371- MATRIX_OPTS="O0 O1 O2 O3 Os Oz " \
364+ MATRIX_OPTS="O0 O1 O2 O3 Os" \
372365 -j$(nproc) -Otarget
You can’t perform that action at this time.
0 commit comments