Skip to content

Commit

Permalink
for now: skip http in zig build all
Browse files Browse the repository at this point in the history
  • Loading branch information
renerocksai committed Dec 29, 2023
1 parent 56cead1 commit 39b543a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

//
Expand Down

0 comments on commit 39b543a

Please sign in to comment.