ci: rely on the Void CI images for the toolchain
The windows-gcc image already ships MinGW-w64 GCC 16 (UCRT), Wine and CMake/Ninja, and the vulkan image ships GCC 16, CMake 4 and the Void dependencies. Drop the MinGW download, the apt package installs and the Wine install; the Windows lane now uses the repository's PATH-based MinGW toolchain file and stages the runtime DLLs from the MinGW sysroot.
This commit is contained in:
1 parent
a4e855f130
commit
51d437d339
3 files changed
+22
-98
No files matched your search
@@ -0,0 +1,17 @@
|
||||
# Cross-compiles VoidBuildSystem for 64-bit Windows (UCRT) with the MinGW-w64
|
||||
# toolchain on PATH (the Void CI `windows-gcc` image provides GCC 16).
|
||||
# The Wine CI lane runs the executables on Linux.
|
||||
set(CMAKE_SYSTEM_NAME Windows)
|
||||
set(CMAKE_SYSTEM_PROCESSOR x86_64)
|
||||
|
||||
set(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc)
|
||||
set(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++)
|
||||
set(CMAKE_RC_COMPILER x86_64-w64-mingw32-windres)
|
||||
set(CMAKE_AR x86_64-w64-mingw32-ar)
|
||||
set(CMAKE_RANLIB x86_64-w64-mingw32-ranlib)
|
||||
|
||||
# Look for target libraries and headers in the MinGW sysroot, but run host
|
||||
# programs (cmake, ninja, python, ...) from the normal PATH.
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
||||
Reference in new issue
Block a user