chore(ci): build the Windows release with the MSYS2 UCRT64 toolchain

setup-msys2 now flags the MINGW64 environment as deprecated and warns on
every Windows build. Move the job to UCRT64 and its matching
mingw-w64-ucrt-x86_64 packages; the compiler triplet is the same, so CC
is unchanged.

The binary now links the Universal CRT instead of msvcrt.dll. UCRT ships
with Windows 10 and later, which is already the floor the Go toolchain
supports.
This commit is contained in:
Sanaei
2026-11-29 23:25:44 +03:30
parent 0ed4e0355c
commit 2bf368e4c1
+4 -4
View File
@@ -239,13 +239,13 @@ jobs:
- name: Install MSYS2
uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
msystem: UCRT64
update: true
install: >-
git
mingw-w64-x86_64-gcc
mingw-w64-x86_64-sqlite3
mingw-w64-x86_64-pkg-config
mingw-w64-ucrt-x86_64-gcc
mingw-w64-ucrt-x86_64-sqlite3
mingw-w64-ucrt-x86_64-pkg-config
- name: Build 3X-UI for Windows (CGO)
shell: msys2 {0}