mirror of
git://code.qt.io/qt/qt5.git
synced 2026-03-29 09:49:19 +08:00
Previously all files got downloaded to a hardcoded path, including the username for the CI machines. Usually, it does not fit the username of a local development machine, complicating to reproduce bugs. Introduce Get-(Default)DownloadLocation functions in helpers to specify the default download location. This helps to run the provisioning scripts on a local machine. Change-Id: I761a92bf5e3e774358756a95dddb9a5d6ee54db9 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
12 lines
387 B
PowerShell
12 lines
387 B
PowerShell
. "$PSScriptRoot\helpers.ps1"
|
|
|
|
$zip = Get-DownloadLocation "winrtrunner.zip"
|
|
$url = "http://download.qt.io/development_releases/prebuilt/winrtrunner/winrtrunner.zip"
|
|
|
|
Download $url $url $zip
|
|
Verify-Checksum $zip "C19098A4C9DBD20EDEB4E5E0D3E6A5BBBCA73C42"
|
|
Extract-7Zip $zip C:\Utils\winrtrunner
|
|
Remove-Item -Path $zip
|
|
|
|
Set-EnvironmentVariable "CI_WINRTRUNNER_PATH" "C:\Utils\winrtrunner"
|