summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorGravatar Ryan Liptak2024-07-29 00:47:16 -0700
committerGravatar Ryan Liptak2024-07-29 00:47:16 -0700
commiteeea2623142d1cc514f5af569d13134db8f17b75 (patch)
tree8c81fe397da00674271277ad6a5da935e0417fca /build.zig
parentupdate fixme (diff)
downloadzig-sqlite-eeea2623142d1cc514f5af569d13134db8f17b75.tar.gz
zig-sqlite-eeea2623142d1cc514f5af569d13134db8f17b75.tar.xz
zig-sqlite-eeea2623142d1cc514f5af569d13134db8f17b75.zip
Disable x86-windows tests due to Zig miscompilation
The 32-bit Windows target currently has a miscompilation which was causing these tests to fail: https://github.com/ziglang/zig/issues/20047
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig9
1 files changed, 6 insertions, 3 deletions
diff --git a/build.zig b/build.zig
index 55b3950..b851865 100644
--- a/build.zig
+++ b/build.zig
@@ -41,7 +41,8 @@ const ci_targets = switch (builtin.target.cpu.arch) {
41 }, 41 },
42 .windows => [_]TestTarget{ 42 .windows => [_]TestTarget{
43 TestTarget{ .query = .{ .cpu_arch = .x86_64, .abi = .gnu }, .bundled = true }, 43 TestTarget{ .query = .{ .cpu_arch = .x86_64, .abi = .gnu }, .bundled = true },
44 TestTarget{ .query = .{ .cpu_arch = .x86, .abi = .gnu }, .bundled = true }, 44 // Disabled due to https://github.com/ziglang/zig/issues/20047
45 // TestTarget{ .query = .{ .cpu_arch = .x86, .abi = .gnu }, .bundled = true },
45 }, 46 },
46 .macos => [_]TestTarget{ 47 .macos => [_]TestTarget{
47 TestTarget{ .query = .{ .cpu_arch = .x86_64 }, .bundled = true }, 48 TestTarget{ .query = .{ .cpu_arch = .x86_64 }, .bundled = true },
@@ -61,13 +62,15 @@ const all_test_targets = switch (builtin.target.cpu.arch) {
61 TestTarget{ .query = .{ .cpu_arch = .riscv64, .abi = .musl }, .bundled = true }, 62 TestTarget{ .query = .{ .cpu_arch = .riscv64, .abi = .musl }, .bundled = true },
62 TestTarget{ .query = .{ .cpu_arch = .mips, .abi = .musl }, .bundled = true }, 63 TestTarget{ .query = .{ .cpu_arch = .mips, .abi = .musl }, .bundled = true },
63 TestTarget{ .query = .{ .cpu_arch = .x86_64, .os_tag = .windows }, .bundled = true }, 64 TestTarget{ .query = .{ .cpu_arch = .x86_64, .os_tag = .windows }, .bundled = true },
64 TestTarget{ .query = .{ .cpu_arch = .x86, .os_tag = .windows }, .bundled = true }, 65 // Disabled due to https://github.com/ziglang/zig/issues/20047
66 // TestTarget{ .query = .{ .cpu_arch = .x86, .os_tag = .windows }, .bundled = true },
65 TestTarget{ .query = .{ .cpu_arch = .x86_64, .os_tag = .macos }, .bundled = true }, 67 TestTarget{ .query = .{ .cpu_arch = .x86_64, .os_tag = .macos }, .bundled = true },
66 TestTarget{ .query = .{ .cpu_arch = .aarch64, .os_tag = .macos }, .bundled = true }, 68 TestTarget{ .query = .{ .cpu_arch = .aarch64, .os_tag = .macos }, .bundled = true },
67 }, 69 },
68 .windows => [_]TestTarget{ 70 .windows => [_]TestTarget{
69 TestTarget{ .query = .{ .cpu_arch = .x86_64, .abi = .gnu }, .bundled = true }, 71 TestTarget{ .query = .{ .cpu_arch = .x86_64, .abi = .gnu }, .bundled = true },
70 TestTarget{ .query = .{ .cpu_arch = .x86, .abi = .gnu }, .bundled = true }, 72 // Disabled due to https://github.com/ziglang/zig/issues/20047
73 // TestTarget{ .query = .{ .cpu_arch = .x86, .abi = .gnu }, .bundled = true },
71 }, 74 },
72 .freebsd => [_]TestTarget{ 75 .freebsd => [_]TestTarget{
73 TestTarget{ .query = .{}, .bundled = false }, 76 TestTarget{ .query = .{}, .bundled = false },