diff options
author | Brad King <brad.king@kitware.com> | 2022-08-02 18:36:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-08-02 18:38:22 (GMT) |
commit | 9ff7fffbf492ae32a57b2768a3025aa3521aabe4 (patch) | |
tree | 80c4abc10d32cf9aa6c646f301239ff5a666a363 | |
parent | e18fb0c73edf2c392ab6f86b4bdeebc28a7ec80d (diff) | |
download | CMake-9ff7fffbf492ae32a57b2768a3025aa3521aabe4.zip CMake-9ff7fffbf492ae32a57b2768a3025aa3521aabe4.tar.gz CMake-9ff7fffbf492ae32a57b2768a3025aa3521aabe4.tar.bz2 |
ci: host WiX 3.14.0.6526 binaries ourselves
Since commit 06c6e76a12 (ci: update to WiX 3.14.0.6526, 2022-06-10,
v3.24.0-rc1~4^2~2) we download the WiX binaries from `wixtoolset.org`
instead of a `github.com` CDN. Avoid hitting their organization site
on every CI job by hosting the binaries at `cmake.org`.
-rwxr-xr-x | .gitlab/ci/wix.ps1 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.gitlab/ci/wix.ps1 b/.gitlab/ci/wix.ps1 index a690533..b7cb3f3 100755 --- a/.gitlab/ci/wix.ps1 +++ b/.gitlab/ci/wix.ps1 @@ -2,13 +2,14 @@ $erroractionpreference = "stop" $release = "v3.14.0.6526" $sha256sum = "4C89898DF3BCAB13E12F7CA54399C35AD273475AD2CB6284611D00AE2D063C2C" -$filename = "wix314-binaries" +$filename = "wix-3.14.0.6526-win-i386" $tarball = "$filename.zip" $outdir = $pwd.Path $outdir = "$outdir\.gitlab" $ProgressPreference = 'SilentlyContinue' -Invoke-WebRequest -Uri "https://wixtoolset.org/downloads/$release/$tarball" -OutFile "$outdir\$tarball" +#Invoke-WebRequest -Uri "https://wixtoolset.org/downloads/$release/$tarball" -OutFile "$outdir\$tarball" +Invoke-WebRequest -Uri "https://cmake.org/files/dependencies/$tarball" -OutFile "$outdir\$tarball" $hash = Get-FileHash "$outdir\$tarball" -Algorithm SHA256 if ($hash.Hash -ne $sha256sum) { exit 1 |