mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-01 06:54:47 +03:00
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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user