Skip to content

Commit 770ae2c

Browse files
committed
set EMSDK_PYTHON environment variable in Windows build script
- ensures that emcc.ps1 does not try to find py.exe (which may not exist on some runners)
1 parent 58a7580 commit 770ae2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎.gitlab/os-windows.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,7 @@
408408
- cmake -P .gitlab/ci/download_python.cmake
409409
- Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\python;$env:PATH"
410410
- Set-Item -Force -Path "env:PYTHONHOME" -Value "$pwdpath\.gitlab\python"
411+
- Set-Item -Force -Path "env:EMSDK_PYTHON" -Value "$pwdpath\.gitlab\python\python.exe"
411412
- cmake -P .gitlab/ci/download_node.cmake
412413
- Set-Item -Force -Path "env:NODE_DIR" -Value "$pwdpath\.gitlab\node"
413414
- Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\node;$env:PATH"

0 commit comments

Comments
 (0)