Fix Zig test build errors
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
09872990a1
commit
f49906c714
|
@ -21,5 +21,5 @@ steps:
|
|||
- wget https://ziglang.org/download/$${ZIG_VERSION}/zig-linux-x86_64-$${ZIG_VERSION}.tar.xz
|
||||
- tar -xf zig-linux-x86_64-$${ZIG_VERSION}.tar.xz
|
||||
- export PATH=$PATH:$(pwd)/zig-linux-x86_64-$${ZIG_VERSION}
|
||||
- zig build
|
||||
- zig build test
|
||||
- zig build tests
|
||||
- zig build demos
|
||||
|
|
|
@ -21,6 +21,5 @@
|
|||
"**/Thumbs.db": true,
|
||||
"**/.zig-cache": true,
|
||||
"zig-out": true,
|
||||
".drone.yml": true,
|
||||
},
|
||||
}
|
||||
|
|
|
@ -59,7 +59,7 @@ const Project = struct {
|
|||
}
|
||||
|
||||
pub fn find_tests(self: Project, b: *std.Build) !void {
|
||||
const tests = b.step("test", "Build and run tests");
|
||||
const tests = b.step("tests", "Build and run tests");
|
||||
|
||||
for (self.imports.items) |import| {
|
||||
tests.dependOn(&b.addRunArtifact(b.addTest(.{
|
||||
|
|
Loading…
Reference in New Issue