CI: Install MinGW via `egor-tensin/setup-mingw`
Scoop install is being problematic since their 0.1.0 release.
(cherry picked from commit 3846201fbb
)
pull/758/head
godot-3.4.4-stable
parent
b1ce0d7860
commit
f4f6fac4c7
|
@ -90,13 +90,11 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
python -m pip install scons
|
python -m pip install scons
|
||||||
|
|
||||||
|
- name: Setup MinGW for Windows/MinGW build
|
||||||
|
uses: egor-tensin/setup-mingw@v2
|
||||||
|
|
||||||
- name: Build godot-cpp
|
- name: Build godot-cpp
|
||||||
# Install GCC from Scoop as the default supplied GCC doesn't work ("Error 1").
|
|
||||||
run: |
|
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
|
scons target=release generate_bindings=yes use_mingw=yes -j $env:NUMBER_OF_PROCESSORS
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
|
|
Loading…
Reference in New Issue