CI: disable compiling std lib C backend test with clang

Unfortunately this requires about 8G of RAM for clang to compile
and our Windows CI runners do not have this much.
This commit is contained in:
Andrew Kelley
2023-04-24 11:58:17 -07:00
parent 39644fb277
commit dc94729643

View File

@@ -1040,6 +1040,12 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step {
});
compile_c.addIncludePath("lib"); // for zig.h
if (test_target.target.getOsTag() == .windows) {
if (true) {
// Unfortunately this requires about 8G of RAM for clang to compile
// and our Windows CI runners do not have this much.
step.dependOn(&these_tests.step);
continue;
}
if (test_target.link_libc == false) {
compile_c.subsystem = .Console;
compile_c.linkSystemLibrary("kernel32");