ci: install the missing runner toolchain pieces
VoidBuildSystem CI / 1 · Requirements (push) Successful in 11s
VoidBuildSystem CI / 2b · Windows native (debug) (push) Failing after 14s
VoidBuildSystem CI / 2b · Windows native (relwithdebinfo) (push) Failing after 11s
VoidBuildSystem CI / 2 · Linux build (debug) (push) Successful in 4m27s
VoidBuildSystem CI / 2 · Linux build (asan) (push) Successful in 4m39s
VoidBuildSystem CI / 2 · Linux build (ubsan) (push) Successful in 4m21s
VoidBuildSystem CI / 2 · Linux build (relwithdebinfo) (push) Successful in 5m48s
VoidBuildSystem CI / 3 · Linux test (asan) (push) Successful in 1m56s
VoidBuildSystem CI / 3 · Linux test (ubsan) (push) Successful in 1m9s
VoidBuildSystem CI / 3b · Windows Wine test (debug) (push) Successful in 1m21s
VoidBuildSystem CI / 3b · Windows Wine test (relwithdebinfo) (push) Successful in 1m24s
VoidBuildSystem CI / 3 · Linux test (debug) (push) Failing after 6m0s
VoidBuildSystem CI / 3 · Linux test (relwithdebinfo) (push) Failing after 6m59s
VoidBuildSystem CI / 4 · Linux package (asan) (push) Skipped
VoidBuildSystem CI / 4 · Linux package (debug) (push) Skipped
VoidBuildSystem CI / 4 · Linux package (relwithdebinfo) (push) Skipped
VoidBuildSystem CI / 4 · Linux package (ubsan) (push) Skipped
VoidBuildSystem CI / 5 · Release (push) Skipped

Requirements now ensure Ninja >= 1.11 (distro package, then the pip
wheel, then the official static binary) since the runner ships 1.10.1
and CMake needs 1.11+ for C++20 module scanning. The MSYS2 lane
installs cmake/ninja/gcc through pacman when they are missing.

The Windows-target sample uses C++20 so it also builds with the older
MinGW-w64 GCC that distributions provide (the CI runner has GCC 10).
This commit is contained in:
faumaray committed 2026-12-05 15:29:39 +03:00
1 parent dbe1b43e85
commit 6129762cc6
4 files changed
+84 -18

No files matched your search

+4 -2
View File
@@ -1452,8 +1452,10 @@ VOID_TEST(FullV1Tests, track_c_windows_target_cross_build_and_wine_test) {
const auto proj = tmp / "win_proj";
write_file(proj / "build.cpp", R"cpp(#include <Void/Build.hpp>
void build(Void::Build::Project &p) {
p.executable("winapp").cxx_standard(Void::Build::CxxStandard::Cxx26).sources({"main.cpp"});
p.test("win_test").cxx_standard(Void::Build::CxxStandard::Cxx26).sources({"test.cpp"});
// C++20 keeps the Windows target buildable with older MinGW-w64 toolchains
// (the CI runner ships GCC 10); the test exercises PE/Wine path handling.
p.executable("winapp").cxx_standard(Void::Build::CxxStandard::Cxx20).sources({"main.cpp"});
p.test("win_test").cxx_standard(Void::Build::CxxStandard::Cxx20).sources({"test.cpp"});
}
)cpp");
write_file(proj / "main.cpp", "#include <cstdio>\nint main() { return 0; }\n");