mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-29 04:09:35 +03:00
ci: Factor out helper to load python into environment on Windows
This commit is contained in:
1 parent
781303c0e2
commit
1ccffcf0ea
2 files changed
+5
-3
No files matched your search
Executable
+4
@@ -0,0 +1,4 @@
|
||||
$pwdpath = $pwd.Path
|
||||
cmake -P .gitlab/ci/download_python3.cmake
|
||||
Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\python3;$env:PATH"
|
||||
python --version
|
||||
@@ -305,9 +305,7 @@
|
||||
- (& "$env:WIX\bin\light.exe" -help) | Select -First 1
|
||||
- cmake --version
|
||||
- . .gitlab/ci/qt-env.ps1
|
||||
- cmake -P .gitlab/ci/download_python3.cmake
|
||||
- Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\python3;$env:PATH"
|
||||
- python --version
|
||||
- . .gitlab/ci/python-env.ps1
|
||||
|
||||
.cmake_build_windows:
|
||||
stage: build
|
||||
|
||||
Reference in new issue
Block a user