summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-02-16 18:07:21 (GMT)
committerBrad King <brad.king@kitware.com>2024-02-16 18:08:23 (GMT)
commitadb6af6959b36bd7860bf7407a4e854a74dcbad8 (patch)
tree430e4d2a60fbed4d8ff7c431a234ba1b9cd21cec
parent4c32b3690de4d1c1018ee5b17562fc4d8c7ed16f (diff)
downloadCMake-adb6af6959b36bd7860bf7407a4e854a74dcbad8.zip
CMake-adb6af6959b36bd7860bf7407a4e854a74dcbad8.tar.gz
CMake-adb6af6959b36bd7860bf7407a4e854a74dcbad8.tar.bz2
ci: host WiX 3.14.0.8606 binaries ourselves
Follow the approach from commit 9ff7fffbf4 (ci: host WiX 3.14.0.6526 binaries ourselves, 2022-08-02, v3.24.0~6^2) for the updated version. Since we use WiX to package our official release binaries, avoid relying on an externally-hosted package by hosting it at `cmake.org`.
-rwxr-xr-x.gitlab/ci/wix.ps16
1 files changed, 4 insertions, 2 deletions
diff --git a/.gitlab/ci/wix.ps1 b/.gitlab/ci/wix.ps1
index 53a5013..9313c0f 100755
--- a/.gitlab/ci/wix.ps1
+++ b/.gitlab/ci/wix.ps1
@@ -2,13 +2,15 @@ $erroractionpreference = "stop"
$release = "wix314rtm"
$sha256sum = "13F067F38969FAF163D93A804B48EA0576790A202C8F10291F2000F0E356E934"
-$filename = "wix314-binaries"
+#$filename = "wix314-binaries"
+$filename = "wix-3.14.0.8606-win-i386"
$tarball = "$filename.zip"
$outdir = $pwd.Path
$outdir = "$outdir\.gitlab"
$ProgressPreference = 'SilentlyContinue'
-Invoke-WebRequest -Uri "https://github.com/wixtoolset/wix3/releases/download/$release/$tarball" -OutFile "$outdir\$tarball"
+#Invoke-WebRequest -Uri "https://github.com/wixtoolset/wix3/releases/download/$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