upgrade to zig 0.13.0
All checks were successful
Generic zig build / build (push) Successful in 7m18s
All checks were successful
Generic zig build / build (push) Successful in 7m18s
This commit is contained in:
parent
3752e3dd58
commit
3178fa6684
2
.github/workflows/zig-build.yaml
vendored
2
.github/workflows/zig-build.yaml
vendored
|
@ -12,7 +12,7 @@ jobs:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: elerch/setup-zig@v3
|
- uses: elerch/setup-zig@v3
|
||||||
with:
|
with:
|
||||||
version: 0.12.0
|
version: 0.13.0
|
||||||
- uses: elerch/zig-action-cache@v1.1.6
|
- uses: elerch/zig-action-cache@v1.1.6
|
||||||
- name: Install system dependencies (Github)
|
- name: Install system dependencies (Github)
|
||||||
if: env.GITEA_ACTIONS != 'true'
|
if: env.GITEA_ACTIONS != 'true'
|
||||||
|
|
|
@ -39,7 +39,7 @@ pub fn build(b: *std.Build) !void {
|
||||||
|
|
||||||
const exe = b.addExecutable(.{
|
const exe = b.addExecutable(.{
|
||||||
.name = "i2c",
|
.name = "i2c",
|
||||||
.root_source_file = .{ .path = "src/main.zig" },
|
.root_source_file = b.path("src/main.zig"),
|
||||||
.target = target,
|
.target = target,
|
||||||
.optimize = optimize,
|
.optimize = optimize,
|
||||||
});
|
});
|
||||||
|
@ -51,7 +51,7 @@ pub fn build(b: *std.Build) !void {
|
||||||
|
|
||||||
const exe_fontgen = b.addExecutable(.{
|
const exe_fontgen = b.addExecutable(.{
|
||||||
.name = "fontgen",
|
.name = "fontgen",
|
||||||
.root_source_file = .{ .path = "src/fontgen.zig" },
|
.root_source_file = b.path("src/fontgen.zig"),
|
||||||
.target = target,
|
.target = target,
|
||||||
.optimize = optimize,
|
.optimize = optimize,
|
||||||
});
|
});
|
||||||
|
@ -71,7 +71,7 @@ pub fn build(b: *std.Build) !void {
|
||||||
run_step.dependOn(&run_cmd.step);
|
run_step.dependOn(&run_cmd.step);
|
||||||
|
|
||||||
const exe_tests = b.addTest(.{
|
const exe_tests = b.addTest(.{
|
||||||
.root_source_file = .{ .path = "src/main.zig" },
|
.root_source_file = b.path("src/main.zig"),
|
||||||
.target = target,
|
.target = target,
|
||||||
.optimize = optimize,
|
.optimize = optimize,
|
||||||
});
|
});
|
||||||
|
|
|
@ -130,7 +130,7 @@ fn run(allocator: std.mem.Allocator, argv: []const []const u8) !void {
|
||||||
var env_map = try std.process.getEnvMap(allocator);
|
var env_map = try std.process.getEnvMap(allocator);
|
||||||
defer env_map.deinit();
|
defer env_map.deinit();
|
||||||
|
|
||||||
var child = std.ChildProcess.init(argv, allocator);
|
var child = std.process.Child.init(argv, allocator);
|
||||||
|
|
||||||
child.stdin_behavior = .Ignore;
|
child.stdin_behavior = .Ignore;
|
||||||
child.stdout_behavior = .Inherit;
|
child.stdout_behavior = .Inherit;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user