File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 runs-on : windows-latest
1212 steps :
1313 - uses : actions/checkout@v3
14- - uses : mlugg/setup-zig@v1
14+ - uses : mlugg/setup-zig@v2
1515 with :
16- version : 0.14.0
16+ version : 0.15.1
1717 - run : |
1818 zig build test
1919 zig build -Dtarget=x86-windows-gnu test
2222 runs-on : macos-latest
2323 steps :
2424 - uses : actions/checkout@v3
25- - uses : mlugg/setup-zig@v1
25+ - uses : mlugg/setup-zig@v2
2626 with :
27- version : 0.14.0
27+ version : 0.15.1
2828 # Note that there's no testing for 32-bit on macos since offical support has been dropped
2929 - run : |
3030 zig build test
3333 runs-on : ubuntu-latest
3434 steps :
3535 - uses : actions/checkout@v3
36- - uses : mlugg/setup-zig@v1
36+ - uses : mlugg/setup-zig@v2
3737 with :
38- version : 0.14.0
38+ version : 0.15.1
3939 - run : |
4040 zig build test
4141 zig build -Dtarget=x86-linux-gnu test
Original file line number Diff line number Diff line change @@ -4,15 +4,13 @@ pub fn build(b: *std.Build) void {
44 const target = b .standardTargetOptions (.{});
55 const optimize = b .standardOptimizeOption (.{});
66
7- _ = b .addModule ("zig-stable-array" , .{
8- .root_source_file = b .path ("stable_array.zig" ),
9- });
7+ _ = b .addModule ("zig-stable-array" , .{ .root_source_file = b .path ("stable_array.zig" ) });
108
11- const lib_unit_tests = b .addTest (.{
9+ const lib_unit_tests = b .addTest (.{ . root_module = b . createModule (.{
1210 .root_source_file = b .path ("stable_array.zig" ),
1311 .target = target ,
1412 .optimize = optimize ,
15- });
13+ }) }) ;
1614 const run_lib_unit_tests = b .addRunArtifact (lib_unit_tests );
1715 const test_step = b .step ("test" , "Run unit tests" );
1816 test_step .dependOn (& run_lib_unit_tests .step );
You can’t perform that action at this time.
0 commit comments