From acb1eec35d25c3af857cea5762d5ab0f5f24a5b8 Mon Sep 17 00:00:00 2001 From: Nadia Holmquist Pedersen Date: Sat, 25 Jul 2020 20:26:36 +0200 Subject: Windows CI: Install MSYS2 with chocolatey --- .github/workflows/build-windows.yml | 3 +-- 1 file changed, 1 insertion(+), 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}" -- cgit v1.2.3