From 39b543a45e2cf43c926ae0f0afc66ed3c5589021 Mon Sep 17 00:00:00 2001 From: Rene Schallner Date: Fri, 29 Dec 2023 23:38:58 +0100 Subject: [PATCH] for now: skip http in zig build all --- build.zig | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build.zig b/build.zig index e4a3f33..f07a044 100644 --- a/build.zig +++ b/build.zig @@ -84,7 +84,13 @@ pub fn build(b: *std.build.Builder) !void { // install the artifact - depending on the "example" const example_build_step = b.addInstallArtifact(example, .{}); example_step.dependOn(&example_build_step.step); - all_step.dependOn(&example_build_step.step); + + // ignore https in all because of required -Dopenssl=true + // TODO: fix GH pipeline to take care of that + // or: auto-provide openssl for https in build.zig + if (!std.mem.eql(u8, ex_name, "https")) { + all_step.dependOn(&example_build_step.step); + } } //