Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Utkarsh Ayachit
ParaView-Superbuild
Commits
9ca2fc19
Commit
9ca2fc19
authored
Jan 21, 2021
by
Ben Boeckel
⛰
Browse files
ci: improve PowerShell download performance
parent
97de9ff6
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab/ci/cmake.ps1
View file @
9ca2fc19
...
...
@@ -7,6 +7,7 @@ $tarball = "$filename.zip"
$outdir
=
$pwd
.
Path
$outdir
=
"
$outdir
\.gitlab"
$ProgressPreference
=
"SilentlyContinue"
Invoke-WebRequest
-Uri
"https://github.com/Kitware/CMake/releases/download/v
$version
/
$tarball
"
-OutFile
"
$outdir
\
$tarball
"
$hash
=
Get-FileHash
"
$outdir
\
$tarball
"
-Algorithm
SHA256
if
(
$hash
.
Hash
-ne
$sha256sum
)
{
...
...
.gitlab/ci/ninja.ps1
View file @
9ca2fc19
...
...
@@ -7,6 +7,7 @@ $tarball = "$filename.zip"
$outdir
=
$pwd
.
Path
$outdir
=
"
$outdir
\.gitlab"
$ProgressPreference
=
"SilentlyContinue"
Invoke-WebRequest
-Uri
"https://github.com/ninja-build/ninja/releases/download/v
$version
/
$tarball
"
-OutFile
"
$outdir
\
$tarball
"
$hash
=
Get-FileHash
"
$outdir
\
$tarball
"
-Algorithm
SHA256
if
(
$hash
.
Hash
-ne
$sha256sum
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment