mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-19 19:46:16 +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>
17 lines
496 B
PowerShell
17 lines
496 B
PowerShell
. "$PSScriptRoot\..\common\windows\helpers.ps1"
|
|
|
|
# This script will install msys which is needed for configuring openssl for Android
|
|
|
|
$version = "1.0.11"
|
|
$url = "\\ci-files01-hki.intra.qt.io\provisioning\windows\msys-$version.7z"
|
|
|
|
$zip = Get-DownloadLocation ("msys-$version.7z")
|
|
$sha1 = "22cd76f1263db8c72727a9537228c481ff33c285"
|
|
$destination = "C:\msys"
|
|
|
|
Download $url $url $zip
|
|
Verify-Checksum $zip $sha1
|
|
C:\Utils\sevenzip\7z.exe x $zip -oC:\
|
|
|
|
Write-Output "Msys = $version" >> ~/versions.txt
|