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',