Skip to content

Commit

Permalink
remember package-test
Browse files Browse the repository at this point in the history
  • Loading branch information
mattnite committed Apr 17, 2024
1 parent e039c9e commit b91f20b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tools/package-test/build.zig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const std = @import("std");

pub fn build(b: *std.Build) void {
const microzig_dep = b.dependency("microzig", .{});
b.getInstallStep().dependOn(microzig_dep.builder.getInstallStep());

const test_bsps_step = b.step("run-bsp-tests", "Run all platform agnostic tests for BSPs");
test_bsps_step.dependOn(&microzig_dep.builder.top_level_steps.get("run-bsp-tests").?.step);
}
8 changes: 8 additions & 0 deletions tools/package-test/build.zig.zon
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.{
.name = "package-test",
.version = "0.0.0",
.paths = .{
"build.zig",
"build.zig.zon",
},
}

0 comments on commit b91f20b

Please sign in to comment.