mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 03:39:43 -06:00
ci: Factor out helper to load qt into environment on Windows
This commit is contained in:
4
.gitlab/ci/qt-env.ps1
Executable file
4
.gitlab/ci/qt-env.ps1
Executable file
@@ -0,0 +1,4 @@
|
||||
$pwdpath = $pwd.Path
|
||||
cmake -P .gitlab/ci/download_qt.cmake
|
||||
Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\qt\bin;$env:PATH"
|
||||
qmake -v
|
||||
@@ -304,8 +304,7 @@
|
||||
- . .gitlab/ci/ninja-env.ps1
|
||||
- (& "$env:WIX\bin\light.exe" -help) | Select -First 1
|
||||
- cmake --version
|
||||
- cmake -P .gitlab/ci/download_qt.cmake
|
||||
- Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\qt\bin;$env:PATH"
|
||||
- . .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
|
||||
|
||||
Reference in New Issue
Block a user