From dc9472964325743e3f9e7f3cedfb942b5f44ad14 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 24 Apr 2023 11:58:17 -0700 Subject: [PATCH] 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. --- test/tests.zig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/tests.zig b/test/tests.zig index 3202d19b3e..7ec1aaaa65 100644 --- a/test/tests.zig +++ b/test/tests.zig @@ -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");