aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNadia Holmquist Pedersen <nadia@nhp.sh>2020-07-25 20:26:36 +0200
committerGitHub <noreply@github.com>2020-07-25 20:26:36 +0200
commitacb1eec35d25c3af857cea5762d5ab0f5f24a5b8 (patch)
treeb6ae74b662a80468ffde26558e094caf0318cc8d
parent116d831cfd1b46afd436a4026a046e38dfd4ada6 (diff)
Windows CI: Install MSYS2 with chocolatey
-rw-r--r--.github/workflows/build-windows.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml
index b8e8b04..035bc54 100644
--- a/.github/workflows/build-windows.yml
+++ b/.github/workflows/build-windows.yml
@@ -21,8 +21,7 @@ jobs:
- name: Install MSYS2
working-directory: ${{runner.workspace}}
run: | # Fetch MSYS2 build from XQEmu. Official distribution causes a CI failure due to permission errors.
- Invoke-WebRequest -Uri "https://github.com/xqemu/ci-environment-msys2/releases/latest/download/msys64.7z" -OutFile "msys64.7z"
- 7z x -y msys64.7z "-oC:\tools\"
+ choco install msys2
C:\tools\msys64\usr\bin\bash.exe -lc "pacman -Syuq --noconfirm"
- name: Install dependencies
run: C:\tools\msys64\usr\bin\bash.exe -lc "pacman -Sq --noconfirm git make mingw-w64-x86_64-{cmake,mesa,SDL2,qt5-static,toolchain}"