mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-01-23 10:35:44 +00:00
Switch to UCRT toolchain in MSYS2
This commit is contained in:
parent
2894aa939f
commit
e0df6ec0b8
2 changed files with 13 additions and 11 deletions
22
.github/workflows/build.yml
vendored
22
.github/workflows/build.yml
vendored
|
|
@ -50,19 +50,19 @@ jobs:
|
|||
- uses: msys2/setup-msys2@v2
|
||||
if: matrix.os == 'windows-latest'
|
||||
with:
|
||||
msystem: MINGW64
|
||||
msystem: ucrt64
|
||||
path-type: inherit
|
||||
release: false
|
||||
install: >
|
||||
mingw-w64-x86_64-gcc
|
||||
mingw-w64-x86_64-pkgconf
|
||||
mingw-w64-x86_64-dlfcn
|
||||
mingw-w64-x86_64-libvpx
|
||||
mingw-w64-x86_64-opus
|
||||
mingw-w64-x86_64-libx264
|
||||
mingw-w64-x86_64-SDL2
|
||||
mingw-w64-x86_64-libyuv
|
||||
mingw-w64-x86_64-libjpeg-turbo
|
||||
mingw-w64-ucrt-x86_64-gcc
|
||||
mingw-w64-ucrt-x86_64-pkgconf
|
||||
mingw-w64-ucrt-x86_64-dlfcn
|
||||
mingw-w64-ucrt-x86_64-libvpx
|
||||
mingw-w64-ucrt-x86_64-opus
|
||||
mingw-w64-ucrt-x86_64-libx264
|
||||
mingw-w64-ucrt-x86_64-SDL2
|
||||
mingw-w64-ucrt-x86_64-libyuv
|
||||
mingw-w64-ucrt-x86_64-libjpeg-turbo
|
||||
|
||||
- name: Windows
|
||||
if: matrix.os == 'windows-latest'
|
||||
|
|
@ -71,6 +71,8 @@ jobs:
|
|||
MESA_GL_VERSION_OVERRIDE: 3.3COMPAT
|
||||
shell: msys2 {0}
|
||||
run: |
|
||||
set MSYSTEM=UCRT64
|
||||
|
||||
wget -q https://github.com/pal1000/mesa-dist-win/releases/download/$MESA_VERSION/mesa3d-$MESA_VERSION-release-msvc.7z
|
||||
"/c/Program Files/7-Zip/7z.exe" x mesa3d-$MESA_VERSION-release-msvc.7z -omesa
|
||||
echo -e " 1\r\n 9\r\n " >> commands
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ apt-get install -y make gcc pkg-config libvpx-dev libx264-dev libopus-dev libsdl
|
|||
brew install pkg-config libvpx x264 opus sdl2 jpeg-turbo
|
||||
|
||||
# Windows (MSYS2)
|
||||
pacman -Sy --noconfirm --needed git make mingw-w64-x86_64-{gcc,pkgconf,dlfcn,libvpx,opus,libx264,SDL2,libyuv,libjpeg-turbo}
|
||||
pacman -Sy --noconfirm --needed git make mingw-w64-ucrt-x86_64-{gcc,pkgconf,dlfcn,libvpx,opus,libx264,SDL2,libyuv,libjpeg-turbo}
|
||||
```
|
||||
|
||||
(You don't need to download libyuv on macOS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue