ci: build example separate and fix tests

Apparently the tests werent executing for some reason??
This commit is contained in:
Robin Voetter
2024-04-28 22:39:02 +02:00
parent 883ab2c2c4
commit 65f1b0252b
4 changed files with 22 additions and 13 deletions

View File

@@ -27,10 +27,6 @@ pub fn build(b: *std.Build) void {
if (maybe_registry) |registry| {
const vk_generate_cmd = b.addRunArtifact(generator_exe);
if (!std.fs.path.isAbsolute(registry)) {
@panic("Make sure to assign an absolute path to the `registry` option (see: std.Build.pathFromRoot).\n");
}
vk_generate_cmd.addArg(registry);
const vk_zig = vk_generate_cmd.addOutputFileArg("vk.zig");