Skip to content

Commit

Permalink
Merge pull request #164 from squeek502/skip-x86-windows
Browse files Browse the repository at this point in the history
Disable x86-windows tests due to Zig miscompilation
  • Loading branch information
vrischmann authored Jul 29, 2024
2 parents e4afe26 + eeea262 commit 7f4be7d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ const ci_targets = switch (builtin.target.cpu.arch) {
},
.windows => [_]TestTarget{
TestTarget{ .query = .{ .cpu_arch = .x86_64, .abi = .gnu }, .bundled = true },
TestTarget{ .query = .{ .cpu_arch = .x86, .abi = .gnu }, .bundled = true },
// Disabled due to https://github.com/ziglang/zig/issues/20047
// TestTarget{ .query = .{ .cpu_arch = .x86, .abi = .gnu }, .bundled = true },
},
.macos => [_]TestTarget{
TestTarget{ .query = .{ .cpu_arch = .x86_64 }, .bundled = true },
Expand All @@ -61,13 +62,15 @@ const all_test_targets = switch (builtin.target.cpu.arch) {
TestTarget{ .query = .{ .cpu_arch = .riscv64, .abi = .musl }, .bundled = true },
TestTarget{ .query = .{ .cpu_arch = .mips, .abi = .musl }, .bundled = true },
TestTarget{ .query = .{ .cpu_arch = .x86_64, .os_tag = .windows }, .bundled = true },
TestTarget{ .query = .{ .cpu_arch = .x86, .os_tag = .windows }, .bundled = true },
// Disabled due to https://github.com/ziglang/zig/issues/20047
// TestTarget{ .query = .{ .cpu_arch = .x86, .os_tag = .windows }, .bundled = true },
TestTarget{ .query = .{ .cpu_arch = .x86_64, .os_tag = .macos }, .bundled = true },
TestTarget{ .query = .{ .cpu_arch = .aarch64, .os_tag = .macos }, .bundled = true },
},
.windows => [_]TestTarget{
TestTarget{ .query = .{ .cpu_arch = .x86_64, .abi = .gnu }, .bundled = true },
TestTarget{ .query = .{ .cpu_arch = .x86, .abi = .gnu }, .bundled = true },
// Disabled due to https://github.com/ziglang/zig/issues/20047
// TestTarget{ .query = .{ .cpu_arch = .x86, .abi = .gnu }, .bundled = true },
},
.freebsd => [_]TestTarget{
TestTarget{ .query = .{}, .bundled = false },
Expand Down

0 comments on commit 7f4be7d

Please sign in to comment.