An asynchronous IO runtime
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

build: install unit tests

So that I can scp them to my mac VM for testing

rockorager.dev 98e1541f f2d2499e

verified
+6 -3
+6 -3
build.zig
··· 12 12 const tls_dep = b.dependency("tls", .{ .target = target, .optimize = optimize }); 13 13 io_mod.addImport("tls", tls_dep.module("tls")); 14 14 15 - const lib_unit_tests = b.addTest(.{ 16 - .root_module = io_mod, 17 - }); 15 + const lib_unit_tests = b.addTest(.{ .root_module = io_mod }); 18 16 19 17 const run_lib_unit_tests = b.addRunArtifact(lib_unit_tests); 18 + run_lib_unit_tests.skip_foreign_checks = true; 19 + b.installArtifact(lib_unit_tests); 20 20 21 21 const test_step = b.step("test", "Run unit tests"); 22 22 test_step.dependOn(&run_lib_unit_tests.step); 23 + 24 + const install_step = b.getInstallStep(); 25 + install_step.dependOn(test_step); 23 26 }