From ab3a2d45dd6c5dc46b24f8a18f40bb6c8c5c5999 Mon Sep 17 00:00:00 2001 From: Kenjiro Nakayama Date: Mon, 7 Sep 2026 09:49:05 +0900 Subject: ci: test against latest Emscripten release Currently Emscripten CI jobs were pinned to Emscripten 3.1.60. This PR changes the Emscripten CI and test configuration to: - Use the latest Emscripten release for both regular and ASAN builds. - Enable memory growth for ASAN tests. In addition, the ssl_verify test generates certificates on the host filesystem at runtime and executes from the temporary directory containing those certificates. The existing preloaded filesystem could not access these runtime-generated files, and Node failed to open ssl_verify.data. To address this issue, this PR uses Node's host filesystem for all Emscripten tests, allowing ssl_verify to access runtime-generated certificates without preloaded data files. --- .github/workflows/emscripten.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/emscripten.yml b/.github/workflows/emscripten.yml index ba0eb02..4e22d3a 100644 --- a/.github/workflows/emscripten.yml +++ b/.github/workflows/emscripten.yml @@ -33,7 +33,7 @@ jobs: - name: "Setup emsdk" uses: mymindstorm/setup-emsdk@4528d102f7230f0e7b276855c01ea1159be0e984 # v16 with: - version: "3.1.60" + version: "latest" - name: "Prepare repository" run: ./autogen.sh @@ -69,7 +69,7 @@ jobs: - name: "Setup emsdk" uses: mymindstorm/setup-emsdk@4528d102f7230f0e7b276855c01ea1159be0e984 # v16 with: - version: "3.1.60" + version: "latest" - name: "Prepare repository" run: ./autogen.sh @@ -78,7 +78,7 @@ jobs: run: emcmake cmake -Bbuild env: CFLAGS: "-gsource-map -fsanitize=address" - LDFLAGS: "-fsanitize=address" + LDFLAGS: "-fsanitize=address -sALLOW_MEMORY_GROWTH" - name: "Build" run: cmake --build build --config Release --parallel 4 -- cgit v1.2.3-55-g6feb