mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 14:23:09 +00:00
test: Add FreeBSD targets to module test matrix.
std tests are temporarily disabled for arm-freebsd-eabihf due to #23949. I omitted x86-freebsd-none and powerpc-freebsd-none because these will be dropped in FreeBSD 15.0 anyway, so there's no point in us spending resources on those now.
This commit is contained in:
parent
fb3a9fc18e
commit
c9ee69712a
@ -98,6 +98,100 @@ const test_targets = blk: {
|
|||||||
.link_libc = true,
|
.link_libc = true,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// FreeBSD Targets
|
||||||
|
|
||||||
|
.{
|
||||||
|
.target = .{
|
||||||
|
.cpu_arch = .aarch64,
|
||||||
|
.os_tag = .freebsd,
|
||||||
|
// Remove this when we bump our baseline to 14.0.0.
|
||||||
|
.os_version_min = .{ .semver = .{
|
||||||
|
.major = 14,
|
||||||
|
.minor = 0,
|
||||||
|
.patch = 0,
|
||||||
|
} },
|
||||||
|
.abi = .none,
|
||||||
|
},
|
||||||
|
.link_libc = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
.{
|
||||||
|
.target = .{
|
||||||
|
.cpu_arch = .arm,
|
||||||
|
.os_tag = .freebsd,
|
||||||
|
// Remove this when we bump our baseline to 14.0.0.
|
||||||
|
.os_version_min = .{ .semver = .{
|
||||||
|
.major = 14,
|
||||||
|
.minor = 0,
|
||||||
|
.patch = 0,
|
||||||
|
} },
|
||||||
|
.abi = .eabihf,
|
||||||
|
},
|
||||||
|
.link_libc = true,
|
||||||
|
// https://github.com/ziglang/zig/issues/23949
|
||||||
|
.skip_modules = &.{"std"},
|
||||||
|
},
|
||||||
|
|
||||||
|
.{
|
||||||
|
.target = .{
|
||||||
|
.cpu_arch = .powerpc64,
|
||||||
|
.os_tag = .freebsd,
|
||||||
|
// Remove this when we bump our baseline to 14.0.0.
|
||||||
|
.os_version_min = .{ .semver = .{
|
||||||
|
.major = 14,
|
||||||
|
.minor = 0,
|
||||||
|
.patch = 0,
|
||||||
|
} },
|
||||||
|
.abi = .none,
|
||||||
|
},
|
||||||
|
.link_libc = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
.{
|
||||||
|
.target = .{
|
||||||
|
.cpu_arch = .powerpc64le,
|
||||||
|
.os_tag = .freebsd,
|
||||||
|
// Remove this when we bump our baseline to 14.0.0.
|
||||||
|
.os_version_min = .{ .semver = .{
|
||||||
|
.major = 14,
|
||||||
|
.minor = 0,
|
||||||
|
.patch = 0,
|
||||||
|
} },
|
||||||
|
.abi = .none,
|
||||||
|
},
|
||||||
|
.link_libc = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
.{
|
||||||
|
.target = .{
|
||||||
|
.cpu_arch = .riscv64,
|
||||||
|
.os_tag = .freebsd,
|
||||||
|
// Remove this when we bump our baseline to 14.0.0.
|
||||||
|
.os_version_min = .{ .semver = .{
|
||||||
|
.major = 14,
|
||||||
|
.minor = 0,
|
||||||
|
.patch = 0,
|
||||||
|
} },
|
||||||
|
.abi = .none,
|
||||||
|
},
|
||||||
|
.link_libc = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
.{
|
||||||
|
.target = .{
|
||||||
|
.cpu_arch = .x86_64,
|
||||||
|
.os_tag = .freebsd,
|
||||||
|
// Remove this when we bump our baseline to 14.0.0.
|
||||||
|
.os_version_min = .{ .semver = .{
|
||||||
|
.major = 14,
|
||||||
|
.minor = 0,
|
||||||
|
.patch = 0,
|
||||||
|
} },
|
||||||
|
.abi = .none,
|
||||||
|
},
|
||||||
|
.link_libc = true,
|
||||||
|
},
|
||||||
|
|
||||||
// Linux Targets
|
// Linux Targets
|
||||||
|
|
||||||
.{
|
.{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user