aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common/windows/winrtrunner.ps1
Commit message (Collapse)AuthorAgeFilesLines
* provisioning: Update winrtrunnerOliver Wolff2018-07-091-3/+3
| | | | | | | | | winrtrunner is from dev. The only change to the previous version is a longer timeout for deployment, as CI runs now and then failed, because deployment did not finish in time. Change-Id: I244e68af447db9298d64bb791048032edd3ec1fd Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Update winrtrunnerOliver Wolff2018-05-281-3/+4
| | | | | | | | | | | | | A newer build of winrtrunner is needed. It is built from dev and contains fixes related to handling of test output (most importantly 044e9ad878ed1cf0ace0a9260b55cc94c71a294d). To make the script more stable, the newer version of winrtrunner was also copied to ci-files01, so that an alternative download location can be offered. Change-Id: I6a429aa3292266067756ce7ba3553088dc168197 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
* Remove hardcoded download pathMaurice Kalinowski2018-05-251-1/+1
| | | | | | | | | | | | | 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>
* windows provisioning: Do not use Windows builtin way of extracting zipsOliver Wolff2018-04-291-1/+1
| | | | | | | | | | The builtin way of Windows for handling zip files is much slower than using 7zip. A small benchmark (not representative, just extracting the android ndk) showed 11 minutes using Extract-Zip vs 2,5 minutes using Extract-7Zip on my machine. Change-Id: I5198aabb5b75860ead687581fc5e368eb75e48ae Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Unify Windows provisioning scripts & improve error handlingv5.11.0-beta1Oliver Wolff2018-02-261-2/+2
| | | | | | | | | | | | | | | | | | | | | While Coin should also see exit codes != 0 as error, we should stick to one way of handling script errors. As Power Shell cmdlets signal an error by throwing an exception we should do the same (and that approach also works in Coin). Additionally extracting 7zip files was unified across scripts by using the existing helper function instead of reinventing the wheel again and again. A similar helper function was introduced for starting an external application (and handling its errors). Also echo and other "cmd" commands were replaced by their PowerShell equivalents to have a unified approach across our Windows provisioning scripts. Change-Id: I70129ce38692f1396c33c13b33a2918485fa5271 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* Provisioning: Make Windows scripts use the Download helper functionJoni Jantti2018-02-231-1/+2
| | | | | | | | | | Some Windows provisioning scripts use the Invoke-WebRequest without setting the ProgressPreference = 'SilentlyContinue' variable for disabling the download progress bar. Disabling the progress bar greatly increases the download speed during provisioning. Change-Id: I649c1bcc970577776d720a4ebf5a7af96c1603f8 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Merge remote-tracking branch 'origin/5.9' into 5.10Liang Qi2018-01-111-0/+10
Fixed up provisioning script locations after the reshuffeling into common/platform folders. Change-Id: Ia0b7d076e475ccc207f2955572fb9ab4171e5d9d