upgrade to zig 0.13.0
Some checks failed
Generic zig build / build (push) Failing after 7m27s

This commit is contained in:
Emil Lerch 2024-06-08 10:22:23 -07:00
parent 3752e3dd58
commit 009eecf007
Signed by: lobo
GPG Key ID: A7B62D657EF764F8
2 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v4
- uses: elerch/setup-zig@v3
with:
version: 0.12.0
version: 0.13.0
- uses: elerch/zig-action-cache@v1.1.6
- name: Install system dependencies (Github)
if: env.GITEA_ACTIONS != 'true'

View File

@ -39,7 +39,7 @@ pub fn build(b: *std.Build) !void {
const exe = b.addExecutable(.{
.name = "i2c",
.root_source_file = .{ .path = "src/main.zig" },
.root_source_file = b.path("src/main.zig"),
.target = target,
.optimize = optimize,
});
@ -51,7 +51,7 @@ pub fn build(b: *std.Build) !void {
const exe_fontgen = b.addExecutable(.{
.name = "fontgen",
.root_source_file = .{ .path = "src/fontgen.zig" },
.root_source_file = b.path("src/fontgen.zig"),
.target = target,
.optimize = optimize,
});
@ -71,7 +71,7 @@ pub fn build(b: *std.Build) !void {
run_step.dependOn(&run_cmd.step);
const exe_tests = b.addTest(.{
.root_source_file = .{ .path = "src/main.zig" },
.root_source_file = b.path("src/main.zig"),
.target = target,
.optimize = optimize,
});