diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-03-09 13:07:46 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-03-09 13:36:33 +0100 |
commit | 3846201fbbb021380fb1b67e88cbfe00dc6c1dc3 (patch) | |
tree | 4a19792cae20312661e22a0bc7ab32eec200d699 | |
parent | b6c18d489db93ff4c8af3cb147f324197394551c (diff) | |
download | redot-cpp-3846201fbbb021380fb1b67e88cbfe00dc6c1dc3.tar.gz |
CI: Install MinGW via `egor-tensin/setup-mingw`
Scoop install is being problematic since their 0.1.0 release.
-rw-r--r-- | .github/workflows/ci.yml | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0e708fb..3bbd1e2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,14 +69,9 @@ jobs: run: | python -m pip install scons - - name: Windows GCC dependency - if: ${{ matrix.platform == 'windows' }} - # 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 + - name: Setup MinGW for Windows/MinGW build + if: ${{ matrix.platform == 'windows' && matrix.flags == 'use_mingw=yes' }} + uses: egor-tensin/setup-mingw@v2 - name: Build godot-cpp (debug) run: | @@ -218,13 +213,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: Build test project (TODO currently not supported, leaving uncommented as a reminder to fix this) |