Merge pull request #18 from bruvzg/mingw_tm

Switch MinGW/GCC build from MSYS2 to `windows-2025` image.
This commit is contained in:
Rémi Verschelde
2025-06-13 14:58:19 +02:00
committed by GitHub

View File

@@ -124,24 +124,24 @@ jobs:
# MinGW/GCC libs using MSVCRT
- name: 🏁 Windows - MinGW/GCC (MSVCRT) x86_64
platform: windows
os: windows-2019
os: windows-2025
artifact-name: godot-angle-static-x86_64-gcc-release
artifact-path-angle: bin/libANGLE.windows.x86_64.a
artifact-path-egl: bin/libEGL.windows.x86_64.a
artifact-path-gles: bin/libGLES.windows.x86_64.a
flags: use_mingw=yes arch=x86_64
flags: use_mingw=yes arch=x86_64 mingw_prefix=C:/mingw64
mingw: yes
msys: mingw64
msysenv: x86_64
- name: 🏁 Windows - MinGW/GCC (MSVCRT) x86_32
platform: windows
os: windows-2019
os: windows-2025
artifact-name: godot-angle-static-x86_32-gcc-release
artifact-path-angle: bin/libANGLE.windows.x86_32.a
artifact-path-egl: bin/libEGL.windows.x86_32.a
artifact-path-gles: bin/libGLES.windows.x86_32.a
flags: use_mingw=yes arch=x86_32
flags: use_mingw=yes arch=x86_32 mingw_prefix=C:/mingw32
mingw: yes
msys: mingw32
msysenv: i686
@@ -165,8 +165,7 @@ jobs:
if: ${{ matrix.platform == 'macos' || matrix.platform == 'ios' }}
run: sudo xcode-select -switch "${XCODE_DEV_PATH}"
- name: Install SCons (Native env)
if: ${{ matrix.mingw != 'yes' }}
- name: Install SCons
run: |
python -m pip install scons==4.0.0
@@ -183,27 +182,18 @@ jobs:
mv llvm-mingw-* "$HOME/llvm-mingw"
echo "$HOME/llvm-mingw/bin" >> $GITHUB_PATH
- name: Setup MinGW/MSYS2
- name: Setup MinGW path
if: ${{ matrix.mingw == 'yes' }}
uses: msys2/setup-msys2@v2
with:
update: true
msystem: ${{matrix.msys}}
install: mingw-w64-${{matrix.msysenv}}-gcc mingw-w64-${{matrix.msysenv}}-scons
shell: bash
run: |
echo "C:/mingw32/bin" >> $GITHUB_PATH
- name: Prepare ANGLE source
shell: bash
run: |
./update_angle.sh
- name: Build ANGLE (Native env)
if: ${{ matrix.mingw != 'yes' }}
run: |
scons platform=${{ matrix.platform }} ${{ matrix.flags }} optimize=speed
- name: Build ANGLE (MSYS2 env)
if: ${{ matrix.mingw == 'yes' }}
shell: msys2 {0}
- name: Build ANGLE
run: |
scons platform=${{ matrix.platform }} ${{ matrix.flags }} optimize=speed