summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Matuszewski <igor@sequoia-pgp.org>2020-04-01 18:44:00 +0200
committerIgor Matuszewski <xanewok@gmail.com>2020-04-01 20:32:38 +0000
commite1d279cfe3414253cd60e0b2bd224fe1f71f5e4b (patch)
tree5c4282e9c1e609f25dcb066a2fda033bc07a31ff
parentfde79eec95803165c9e813bbc367fd7932df80ca (diff)
ci: Install chocolatey
We need this to save ourselves a headache with fixed-point nature of MSYS installation if we were to do all of that manually.
-rw-r--r--.gitlab-ci.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index dace1686..948baef9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -88,6 +88,8 @@ windows:
- $env:Path += ";$env:ProgramFiles\cargo\bin"
- rustup --version
- rustc --version --verbose
+ # Install chocolatey
+ - Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
# Install MSYS2/mingw-w64
- choco install msys2 -y
- $env:Path += ";C:\tools\msys64"