diff --git a/.drone.yml b/.drone.yml index 0bbe9c2..3ecedc9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 diff --git a/.vscode/settings.json b/.vscode/settings.json index 995d05f..1d3cc37 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -21,6 +21,5 @@ "**/Thumbs.db": true, "**/.zig-cache": true, "zig-out": true, - ".drone.yml": true, }, } diff --git a/build.zig b/build.zig index 66823b6..1c21e84 100644 --- a/build.zig +++ b/build.zig @@ -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(.{