From 3427c97f2421e54edff26d24b35474ae4ab91c76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 9 Mar 2022 13:07:46 +0100 Subject: [PATCH] CI: Install MinGW via `egor-tensin/setup-mingw` Scoop install is being problematic since their 0.1.0 release. (cherry picked from commit 3846201fbbb021380fb1b67e88cbfe00dc6c1dc3) --- .github/workflows/ci.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 10ad5c7..d7e566d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -90,13 +90,11 @@ jobs: run: | python -m pip install scons + - name: Setup MinGW for Windows/MinGW build + uses: egor-tensin/setup-mingw@v2 + - name: Build godot-cpp - # Install GCC from Scoop as the default supplied GCC doesn't work ("Error 1"). run: | - Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh') - scoop install gcc - g++ --version - gcc --version scons target=release generate_bindings=yes use_mingw=yes -j $env:NUMBER_OF_PROCESSORS - name: Upload artifact