adding manual Vk 1.4 CTS CI
Some checks failed
Build / build (push) Successful in 1m3s
Test / build_and_test (push) Has been cancelled

This commit is contained in:
2026-01-08 11:38:25 +01:00
parent a954688768
commit 21a948f3b9

View File

@@ -247,11 +247,25 @@ fn addMultithreadedCTS(b: *std.Build, target: std.Build.ResolvedTarget, impl: *c
}, },
})); }));
const mustpass_override = blk: {
if (b.args) |args| {
for (args) |arg| {
if (std.mem.startsWith(u8, arg, "--mustpass-list")) {
break :blk arg["--mustpass-list=".len..];
}
}
}
break :blk null;
};
const mustpass_path = try cts.path( const mustpass_path = try cts.path(
b.fmt("mustpass/{}.{}.2/vk-default.txt", .{ if (mustpass_override) |override|
impl.vulkan_version.major, b.fmt("mustpass/{s}/vk-default.txt", .{override})
impl.vulkan_version.minor, else
}), b.fmt("mustpass/{}.{}.2/vk-default.txt", .{
impl.vulkan_version.major,
impl.vulkan_version.minor,
}),
).getPath3(b, null).toString(b.allocator); ).getPath3(b, null).toString(b.allocator);
const cts_exe_path = try cts_exe_name.getPath3(b, null).toString(b.allocator); const cts_exe_path = try cts_exe_name.getPath3(b, null).toString(b.allocator);