ci(windows): use the prebuilt MinGW-w64 GCC 16 UCRT cross toolchain
VoidBuildSystem CI / 1 · Requirements (push) Successful in 9s
VoidBuildSystem CI / 2B · Windows Wine build (relwithdebinfo) (push) Failing after 32s
VoidBuildSystem CI / 2B · Windows Wine build (debug) (push) Failing after 32s
VoidBuildSystem CI / 3B · Windows Wine test (debug) (push) Skipped
VoidBuildSystem CI / 3B · Windows Wine test (relwithdebinfo) (push) Skipped
VoidBuildSystem CI / 4B · Windows package (debug) (push) Skipped
VoidBuildSystem CI / 4B · Windows package (relwithdebinfo) (push) Skipped
VoidBuildSystem CI / 2A · Linux build (debug) (push) Successful in 2m39s
VoidBuildSystem CI / 2A · Linux build (sanitizers) (push) Successful in 3m27s
VoidBuildSystem CI / 2A · Linux build (relwithdebinfo) (push) Successful in 5m44s
VoidBuildSystem CI / 3A · Linux test (debug) (push) Canceled after 0s
VoidBuildSystem CI / 3A · Linux test (relwithdebinfo) (push) Canceled after 0s
VoidBuildSystem CI / 3A · Linux test (sanitizers) (push) Canceled after 0s
VoidBuildSystem CI / 4A · Linux package (debug) (push) Canceled after 0s
VoidBuildSystem CI / 4A · Linux package (relwithdebinfo) (push) Canceled after 0s
VoidBuildSystem CI / 4A · Linux package (sanitizers) (push) Canceled after 0s
VoidBuildSystem CI / 5 · Release (push) Skipped
VoidBuildSystem CI / 1 · Requirements (push) Successful in 9s
VoidBuildSystem CI / 2B · Windows Wine build (relwithdebinfo) (push) Failing after 32s
VoidBuildSystem CI / 2B · Windows Wine build (debug) (push) Failing after 32s
VoidBuildSystem CI / 3B · Windows Wine test (debug) (push) Skipped
VoidBuildSystem CI / 3B · Windows Wine test (relwithdebinfo) (push) Skipped
VoidBuildSystem CI / 4B · Windows package (debug) (push) Skipped
VoidBuildSystem CI / 4B · Windows package (relwithdebinfo) (push) Skipped
VoidBuildSystem CI / 2A · Linux build (debug) (push) Successful in 2m39s
VoidBuildSystem CI / 2A · Linux build (sanitizers) (push) Successful in 3m27s
VoidBuildSystem CI / 2A · Linux build (relwithdebinfo) (push) Successful in 5m44s
VoidBuildSystem CI / 3A · Linux test (debug) (push) Canceled after 0s
VoidBuildSystem CI / 3A · Linux test (relwithdebinfo) (push) Canceled after 0s
VoidBuildSystem CI / 3A · Linux test (sanitizers) (push) Canceled after 0s
VoidBuildSystem CI / 4A · Linux package (debug) (push) Canceled after 0s
VoidBuildSystem CI / 4A · Linux package (relwithdebinfo) (push) Canceled after 0s
VoidBuildSystem CI / 4A · Linux package (sanitizers) (push) Canceled after 0s
VoidBuildSystem CI / 5 · Release (push) Skipped
The runner only ships apt's MinGW-w64 GCC 10, which cannot compile C++26 reflection. install-mingw.sh now downloads AmanoTeam's mingw-gcc-cross gcc-16 release (x86_64 Linux host, GCC 16.2.1 with -freflection) into /opt and the Wine build uses its CMake toolchain file. The _WIN32_WINNT/NTDDI_VERSION target level is set for Windows so MinGW headers declare the APIs VoidLibrary uses (e.g. DUPLICATE_EXTENTS_DATA). Verified locally: all Windows targets build with this toolchain, vbs runs under Wine and the SDK suite passes 17/17.
This commit is contained in:
1 parent
951b55f67e
commit
67b89c7d3a
4 files changed
+35
-96
No files matched your search
@@ -1,14 +0,0 @@
|
||||
# Cross-compiles VoidBuildSystem for 64-bit Windows with MinGW-w64.
|
||||
# Used by the Wine CI lane: the executables are run under Wine 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)
|
||||
|
||||
# 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