From aa2a7cacba7e3baaa2db23b7bdd041bc93a5f20b Mon Sep 17 00:00:00 2001 From: wangdequan Date: Mon, 10 Aug 2026 16:44:24 -0400 Subject: [PATCH] ci: rebuild WASM inputs in real verification lane --- .github/workflows/real-verification.yml | 1 + scripts/run-real-verification.mjs | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/real-verification.yml b/.github/workflows/real-verification.yml index c293007..4d54995 100644 --- a/.github/workflows/real-verification.yml +++ b/.github/workflows/real-verification.yml @@ -56,3 +56,4 @@ jobs: CHROME_BIN: ${{ vars.CHROME_BIN }} EMSDK: ${{ vars.EMSDK }} OCCT_SOURCE_DIR: ${{ vars.OCCT_SOURCE_DIR }} + CI_REAL_REBUILD_WASM: '1' diff --git a/scripts/run-real-verification.mjs b/scripts/run-real-verification.mjs index f35dfb8..af455b3 100644 --- a/scripts/run-real-verification.mjs +++ b/scripts/run-real-verification.mjs @@ -18,6 +18,10 @@ const chromeTests = Object.keys(scripts) .filter((name) => name.startsWith('test:chrome-')) .sort() +const wasmBuilds = process.env.CI_REAL_REBUILD_WASM === '1' + ? ['fetch:freecad-source', 'build:occt-history', 'build:planegcs'] + : [] + const lanes = { chrome: [ 'build', @@ -54,6 +58,7 @@ const lanes = { 'check:freecad-native-naming-evidence', ], wasm: [ + ...wasmBuilds, 'check:occt-history-artifact', 'test:browser-occt', 'check:browser-occt',