@@ -30,22 +30,32 @@ jobs:
3030 # Skip debug symbols, they're way too big with MSVC.
3131 sconsflags : debug_symbols=no vsproj=yes vsproj_gen_only=no windows_subsystem=console
3232 bin : ./bin/godot.windows.editor.x86_64.exe
33- artifact : true
33+ compiler : msvc
3434
3535 - name : Editor w/ clang-cl (target=editor, tests=yes, use_llvm=yes)
3636 cache-name : windows-editor-clang
3737 target : editor
3838 tests : true
3939 sconsflags : debug_symbols=no windows_subsystem=console use_llvm=yes
4040 bin : ./bin/godot.windows.editor.x86_64.llvm.exe
41+ compiler : clang
4142
4243 - name : Template (target=template_release, tests=yes)
4344 cache-name : windows-template
4445 target : template_release
4546 tests : true
4647 sconsflags : debug_symbols=no
4748 bin : ./bin/godot.windows.template_release.x86_64.console.exe
48- artifact : true
49+ compiler : msvc
50+
51+ - name : Template w/ GCC (target=template_release, tests=yes, use_mingw=yes)
52+ cache-name : windows-template-gcc
53+ # MinGW takes MUCH longer to compile; save time by only targeting Template.
54+ target : template_release
55+ tests : true
56+ sconsflags : debug_symbols=no use_mingw=yes
57+ bin : ./bin/godot.windows.template_release.x86_64.console.exe
58+ compiler : gcc
4959
5060 steps :
5161 - name : Checkout
@@ -69,16 +79,21 @@ jobs:
69797080 with :
7181 repo : godotengine/godot-angle-static
72- version : tags/chromium/6029
73- file : Windows.6029-1.MSVC_17. x86_64.x86_32 .zip
82+ version : tags/chromium/6601.2
83+ file : godot-angle-static- x86_64-${{ matrix.compiler == 'gcc' && 'gcc' || 'msvc' }}-release .zip
7484 target : angle/angle.zip
7585
7686 - name : Extract pre-built ANGLE static libraries
7787 run : Expand-Archive -Force angle/angle.zip ${{ github.workspace }}/
7888
7989 - name : Setup MSVC problem matcher
90+ if : matrix.compiler == 'msvc'
8091 uses : ammaraskar/msvc-problem-matcher@master
8192
93+ - name : Setup GCC problem matcher
94+ if : matrix.compiler != 'msvc'
95+ uses : ammaraskar/gcc-problem-matcher@master
96+
8297 - name : Compilation
8398 uses : ./.github/actions/godot-build
8499 with :
@@ -94,12 +109,12 @@ jobs:
94109 continue-on-error : true
95110
96111 - name : Prepare artifact
97- if : ${{ matrix.artifact }}
112+ if : matrix.compiler == 'msvc'
98113 run : |
99114 Remove-Item bin/* -Include *.exp,*.lib,*.pdb -Force
100115
101116 - name : Upload artifact
102- if : ${{ matrix.artifact }}
117+ if : matrix.compiler == 'msvc'
103118 uses : ./.github/actions/upload-artifact
104119 with :
105120 name : ${{ matrix.cache-name }}
0 commit comments