setup-zig/test/v0.10/build.zig
Renée 8dab702865
ci: add zig 0.11.0 (#62)
* chore(ci): add 0.11.0

Signed-off-by: Rui Chen <rui@chenrui.dev>

* Support zig 0.11 build system

---------

Signed-off-by: Rui Chen <rui@chenrui.dev>
Co-authored-by: Rui Chen <rui@chenrui.dev>
2023-12-30 12:27:39 +01:00

11 lines
308 B
Zig

const Builder = @import("std").build.Builder;
pub fn build(b: *Builder) void {
const mode = b.standardReleaseOptions();
const test_build = b.addTest("src/main.zig");
test_build.setBuildMode(mode);
const test_step = b.step("test", "Run the app");
test_step.dependOn(&test_build.step);
}