authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2023-11-26 00:13:50 -08:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2023-11-26 00:13:50 -08:00
log4346b06135de1caa859c9e618070cd72ce51c132
tree50dd5b19edfdf2bdc02dacbe6366336853ece7d1
parent5c4151729c6dfc30fc9ec69f60482d43a8820189

build.zig add test step


1 files changed, 3 insertions(+), 0 deletions(-)

build.zig+3
...@@ -10,6 +10,9 @@ pub fn build(b: *std.Build) void {...@@ -10,6 +10,9 @@ pub fn build(b: *std.Build) void {
10 addTest(b, target, mode, mod, 1);10 addTest(b, target, mode, mod, 1);
11 addTest(b, target, mode, mod, 2);11 addTest(b, target, mode, mod, 2);
12 addTest(b, target, mode, mod, 3);12 addTest(b, target, mode, mod, 3);
13
14 const test_step = b.step("test", "dummy test step to pass CI checks");
15 _ = test_step;
13}16}
1417
15fn addTest(b: *std.Build, target: std.zig.CrossTarget, mode: std.builtin.Mode, mod: *std.build.Module, comptime backend: u8) void {18fn addTest(b: *std.Build, target: std.zig.CrossTarget, mode: std.builtin.Mode, mod: *std.build.Module, comptime backend: u8) void {