From 309e5f687958fd45893a8f68ebd246493dd385a7 Mon Sep 17 00:00:00 2001 From: Isaac Van Doren Date: Sat, 23 Aug 2025 14:34:21 -0500 Subject: [PATCH 1/3] upgrade to zig 15.1 --- build.zig | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/build.zig b/build.zig index 2302ef9..870cb40 100644 --- a/build.zig +++ b/build.zig @@ -4,15 +4,13 @@ pub fn build(b: *std.Build) void { const target = b.standardTargetOptions(.{}); const optimize = b.standardOptimizeOption(.{}); - _ = b.addModule("zig-stable-array", .{ - .root_source_file = b.path("stable_array.zig"), - }); + _ = b.addModule("zig-stable-array", .{ .root_source_file = b.path("stable_array.zig") }); - const lib_unit_tests = b.addTest(.{ + const lib_unit_tests = b.addTest(.{ .root_module = b.createModule(.{ .root_source_file = b.path("stable_array.zig"), .target = target, .optimize = optimize, - }); + }) }); const run_lib_unit_tests = b.addRunArtifact(lib_unit_tests); const test_step = b.step("test", "Run unit tests"); test_step.dependOn(&run_lib_unit_tests.step); From 3c835532591133eae7b8cb826690e953fbfbe771 Mon Sep 17 00:00:00 2001 From: Isaac Van Doren Date: Sat, 23 Aug 2025 15:31:02 -0500 Subject: [PATCH 2/3] update zig version in CI --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9f8202f..dfad781 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v3 - uses: mlugg/setup-zig@v1 with: - version: 0.14.0 + version: 0.15.1 - run: | zig build test zig build -Dtarget=x86-windows-gnu test @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@v3 - uses: mlugg/setup-zig@v1 with: - version: 0.14.0 + version: 0.15.1 # Note that there's no testing for 32-bit on macos since offical support has been dropped - run: | zig build test @@ -35,7 +35,7 @@ jobs: - uses: actions/checkout@v3 - uses: mlugg/setup-zig@v1 with: - version: 0.14.0 + version: 0.15.1 - run: | zig build test zig build -Dtarget=x86-linux-gnu test From ccfe871b0dd8897fd87ad2e72a1d97490ebead7f Mon Sep 17 00:00:00 2001 From: Isaac Van Doren Date: Mon, 25 Aug 2025 07:55:17 -0500 Subject: [PATCH 3/3] Update zig version in CI --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dfad781..7246b8a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v3 - uses: mlugg/setup-zig@v1 with: - version: 0.15.1 + version: 0.15.0 - run: | zig build test zig build -Dtarget=x86-windows-gnu test @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@v3 - uses: mlugg/setup-zig@v1 with: - version: 0.15.1 + version: 0.15.0 # Note that there's no testing for 32-bit on macos since offical support has been dropped - run: | zig build test @@ -35,7 +35,7 @@ jobs: - uses: actions/checkout@v3 - uses: mlugg/setup-zig@v1 with: - version: 0.15.1 + version: 0.15.0 - run: | zig build test zig build -Dtarget=x86-linux-gnu test