diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2020-06-08 15:39:02 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2020-06-08 15:39:02 (GMT) |
commit | f8b2d8f178cc37c9b900a05af29fe1ba0ceb9ab3 (patch) | |
tree | 5e6dc1c6f5d96d7f9556c844f8ead32080c9c286 /.gitlab | |
parent | d1f30ccab5adc69a29fe1978d95157ea41ce508d (diff) | |
download | CMake-f8b2d8f178cc37c9b900a05af29fe1ba0ceb9ab3.zip CMake-f8b2d8f178cc37c9b900a05af29fe1ba0ceb9ab3.tar.gz CMake-f8b2d8f178cc37c9b900a05af29fe1ba0ceb9ab3.tar.bz2 |
ci: remove unused sccache download script
Diffstat (limited to '.gitlab')
-rwxr-xr-x | .gitlab/ci/sccache.ps1 | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/.gitlab/ci/sccache.ps1 b/.gitlab/ci/sccache.ps1 deleted file mode 100755 index 6231c72..0000000 --- a/.gitlab/ci/sccache.ps1 +++ /dev/null @@ -1,22 +0,0 @@ -$erroractionpreference = "stop" - -# 0.2.13 is unavailable right now. -# https://github.com/mozilla/sccache/issues/677 -$version = "0.2.12" -$sha256sum = "FD05E91C59B9497D4EBAE311B47A982F2A6EB942DCA3C9C314CC1FB36F8BC64D" -$filename = "sccache-$version-x86_64-pc-windows-msvc" -$tarball = "$filename.tar.gz" - -$outdir = $pwd.Path -$outdir = "$outdir\.gitlab" -Invoke-WebRequest -Uri "https://github.com/mozilla/sccache/releases/download/$version/$tarball" -OutFile "$outdir\$tarball" -$hash = Get-FileHash "$outdir\$tarball" -Algorithm SHA256 -if ($hash.Hash -ne $sha256sum) { - exit 1 -} - -$curdir = $pwd.Path -Set-Location -Path "$outdir" -cmake -E tar xzf "$outdir\$tarball" -Move-Item -Path "$outdir\$filename\sccache.exe" -Destination "$outdir\sccache.exe" -Set-Location -Path "$curdir" |