fix gcc to 14.2

This commit is contained in:
crashGG 2025-05-25 20:10:40 +03:00 committed by GitHub
parent 528f2495fc
commit cffbff9b45
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 17 additions and 1 deletions

View File

@ -30,7 +30,23 @@ jobs:
with:
msystem: ucrt64
update: true
pacboy: gcc:p cmake:p ninja:p make:p
- name: Download GCC packages
run: |
# download gcc 14.2
curl -LO https://repo.msys2.org/mingw/ucrt64/mingw-w64-ucrt-x86_64-gcc-14.2.0-3-any.pkg.tar.zst
curl -LO https://repo.msys2.org/mingw/ucrt64/mingw-w64-ucrt-x86_64-gcc-libs-14.2.0-3-any.pkg.tar.zst
# setup gcc 14.2
pacman -U --noconfirm \
mingw-w64-ucrt-x86_64-gcc-libs-14.2.0-3-any.pkg.tar.zst \
mingw-w64-ucrt-x86_64-gcc-14.2.0-3-any.pkg.tar.zst
# setup build tools
pacman -S --needed --noconfirm \
mingw-w64-ucrt-x86_64-cmake \
mingw-w64-ucrt-x86_64-ninja \
mingw-w64-ucrt-x86_64-make
- name: Set up vcpkg
uses: lukka/run-vcpkg@v11
with: