From e1d279cfe3414253cd60e0b2bd224fe1f71f5e4b Mon Sep 17 00:00:00 2001 From: Igor Matuszewski Date: Wed, 1 Apr 2020 18:44:00 +0200 Subject: 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. --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) 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" -- cgit v1.2.3