mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-04 22:17:45 +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>
13 lines
425 B
PowerShell
13 lines
425 B
PowerShell
. "$PSScriptRoot\helpers.ps1"
|
|
|
|
$zip = Get-DownloadLocation "Qt3DStudio-3rdparty-win64-CI.zip"
|
|
|
|
$url = "http://ci-files01-hki.intra.qt.io/input/3rdparty/Qt3DStudio-3rdparty-win64-CI.zip"
|
|
|
|
Download $url $url $zip
|
|
Verify-Checksum $zip "08D740D2EFB4CBCDE7D012908B89AA48DE5CD4E1"
|
|
Extract-7Zip $zip C:\Utils\Qt3DStudio3rdparty
|
|
Remove-Item -Path $zip
|
|
|
|
Set-EnvironmentVariable "QT3DSTUDIO_3RDPARTY_DIR" "C:/Utils/Qt3DStudio3rdparty"
|