upgrade to zig 0.13.0
All checks were successful
AWS-Zig Build / build (push) Successful in 1m11s

This commit is contained in:
Emil Lerch 2024-06-08 11:07:29 -07:00
parent df9fdb96e5
commit 3a1428cd2a
Signed by: lobo
GPG Key ID: A7B62D657EF764F8
4 changed files with 7 additions and 6 deletions

View File

@ -5,10 +5,10 @@ env:
ACTIONS_RUNTIME_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ACTIONS_RUNTIME_URL: ${{ env.GITHUB_SERVER_URL }}/api/actions_pipeline/
jobs:
build-zig-0.11.0-amd64-host:
build:
runs-on: ubuntu-latest
env:
ZIG_VERSION: 0.12.0
ZIG_VERSION: 0.13.0
ARCH: x86_64
steps:
- name: Check out repository code

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ core
zig-cache
zig-out
zig-cache
.zig-cache

View File

@ -20,7 +20,7 @@ pub fn build(b: *std.Build) !void {
.name = "universal-lambda-example",
// In this case the main source file is merely a path, however, in more
// complicated build scripts, this could be a generated file.
.root_source_file = .{ .path = "src/main.zig" },
.root_source_file = b.path("src/main.zig"),
.target = target,
.optimize = optimize,
});
@ -64,7 +64,7 @@ pub fn build(b: *std.Build) !void {
// Creates a step for unit testing. This only builds the test executable
// but does not run it.
const unit_tests = b.addTest(.{
.root_source_file = .{ .path = "src/main.zig" },
.root_source_file = b.path("src/main.zig"),
.target = target,
.optimize = optimize,
});

View File

@ -4,8 +4,8 @@
.dependencies = .{
.@"universal-lambda-zig" = .{
.url = "https://git.lerch.org/lobo/universal-lambda-zig/archive/f3d80b4afe8c13031b6cff051e93deaeadb1d268.tar.gz",
.hash = "122093d59b28dcd0201eaa1587ca78e11c06fb563b2cb9b554aaa5f7bab0ae34432e",
.url = "https://git.lerch.org/lobo/universal-lambda-zig/archive/562fd85dfbc3f7c056ca5a6e1d2c07863fbbf304.tar.gz",
.hash = "1220a3807d02bbefa12977795e0a2c27849c77b8ec4d866803692fd311ca49bdef36",
},
},
.paths = .{