ci: Gitea Actions workflows for CI and tagged releases; strip option (M7)
CI / test (push) Canceled after 0s
CI / test (push) Canceled after 0s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c5faf8a682
commit
b022dcf32b
5 files changed
+130
No files matched your search
@@ -9,6 +9,8 @@ pub fn build(b: *std.Build) void {
|
||||
});
|
||||
const optimize = b.standardOptimizeOption(.{});
|
||||
|
||||
const strip = b.option(bool, "strip", "Strip debug symbols from the binary") orelse false;
|
||||
|
||||
const options = b.addOptions();
|
||||
options.addOption([]const u8, "version", zon.version);
|
||||
|
||||
@@ -28,6 +30,7 @@ pub fn build(b: *std.Build) void {
|
||||
.target = target,
|
||||
.optimize = optimize,
|
||||
.link_libc = true,
|
||||
.strip = strip,
|
||||
.imports = &.{.{ .name = "zag", .module = mod }},
|
||||
}),
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user