mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-07 14:24:43 +00:00
test: Add NetBSD targets to module test matrix.
This commit is contained in:
parent
9d8acf973e
commit
aeebb131c8
1 changed files with 207 additions and 0 deletions
207
test/tests.zig
207
test/tests.zig
|
|
@ -1232,6 +1232,213 @@ const test_targets = blk: {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// NetBSD Targets
|
||||||
|
|
||||||
|
.{
|
||||||
|
.target = .{
|
||||||
|
.cpu_arch = .aarch64,
|
||||||
|
.os_tag = .netbsd,
|
||||||
|
// Remove this when we bump our baseline to 10.1.0.
|
||||||
|
.os_version_min = .{ .semver = .{
|
||||||
|
.major = 10,
|
||||||
|
.minor = 1,
|
||||||
|
.patch = 0,
|
||||||
|
} },
|
||||||
|
.abi = .none,
|
||||||
|
},
|
||||||
|
.link_libc = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
.{
|
||||||
|
.target = .{
|
||||||
|
.cpu_arch = .aarch64_be,
|
||||||
|
.os_tag = .netbsd,
|
||||||
|
// Remove this when we bump our baseline to 10.1.0.
|
||||||
|
.os_version_min = .{ .semver = .{
|
||||||
|
.major = 10,
|
||||||
|
.minor = 1,
|
||||||
|
.patch = 0,
|
||||||
|
} },
|
||||||
|
.abi = .none,
|
||||||
|
},
|
||||||
|
.link_libc = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
.{
|
||||||
|
.target = .{
|
||||||
|
.cpu_arch = .arm,
|
||||||
|
.os_tag = .netbsd,
|
||||||
|
// Remove this when we bump our baseline to 10.1.0.
|
||||||
|
.os_version_min = .{ .semver = .{
|
||||||
|
.major = 10,
|
||||||
|
.minor = 1,
|
||||||
|
.patch = 0,
|
||||||
|
} },
|
||||||
|
.abi = .eabi,
|
||||||
|
},
|
||||||
|
.link_libc = true,
|
||||||
|
},
|
||||||
|
.{
|
||||||
|
.target = .{
|
||||||
|
.cpu_arch = .arm,
|
||||||
|
.os_tag = .netbsd,
|
||||||
|
// Remove this when we bump our baseline to 10.1.0.
|
||||||
|
.os_version_min = .{ .semver = .{
|
||||||
|
.major = 10,
|
||||||
|
.minor = 1,
|
||||||
|
.patch = 0,
|
||||||
|
} },
|
||||||
|
.abi = .eabihf,
|
||||||
|
},
|
||||||
|
.link_libc = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
.{
|
||||||
|
.target = .{
|
||||||
|
.cpu_arch = .armeb,
|
||||||
|
.os_tag = .netbsd,
|
||||||
|
// Remove this when we bump our baseline to 10.1.0.
|
||||||
|
.os_version_min = .{ .semver = .{
|
||||||
|
.major = 10,
|
||||||
|
.minor = 1,
|
||||||
|
.patch = 0,
|
||||||
|
} },
|
||||||
|
.abi = .eabi,
|
||||||
|
},
|
||||||
|
.link_libc = true,
|
||||||
|
},
|
||||||
|
.{
|
||||||
|
.target = .{
|
||||||
|
.cpu_arch = .armeb,
|
||||||
|
.os_tag = .netbsd,
|
||||||
|
// Remove this when we bump our baseline to 10.1.0.
|
||||||
|
.os_version_min = .{ .semver = .{
|
||||||
|
.major = 10,
|
||||||
|
.minor = 1,
|
||||||
|
.patch = 0,
|
||||||
|
} },
|
||||||
|
.abi = .eabihf,
|
||||||
|
},
|
||||||
|
.link_libc = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
.{
|
||||||
|
.target = .{
|
||||||
|
.cpu_arch = .mips,
|
||||||
|
.os_tag = .netbsd,
|
||||||
|
// Remove this when we bump our baseline to 10.1.0.
|
||||||
|
.os_version_min = .{ .semver = .{
|
||||||
|
.major = 10,
|
||||||
|
.minor = 1,
|
||||||
|
.patch = 0,
|
||||||
|
} },
|
||||||
|
.abi = .eabi,
|
||||||
|
},
|
||||||
|
.link_libc = true,
|
||||||
|
},
|
||||||
|
.{
|
||||||
|
.target = .{
|
||||||
|
.cpu_arch = .mips,
|
||||||
|
.os_tag = .netbsd,
|
||||||
|
// Remove this when we bump our baseline to 10.1.0.
|
||||||
|
.os_version_min = .{ .semver = .{
|
||||||
|
.major = 10,
|
||||||
|
.minor = 1,
|
||||||
|
.patch = 0,
|
||||||
|
} },
|
||||||
|
.abi = .eabihf,
|
||||||
|
},
|
||||||
|
.link_libc = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
.{
|
||||||
|
.target = .{
|
||||||
|
.cpu_arch = .mipsel,
|
||||||
|
.os_tag = .netbsd,
|
||||||
|
// Remove this when we bump our baseline to 10.1.0.
|
||||||
|
.os_version_min = .{ .semver = .{
|
||||||
|
.major = 10,
|
||||||
|
.minor = 1,
|
||||||
|
.patch = 0,
|
||||||
|
} },
|
||||||
|
.abi = .eabi,
|
||||||
|
},
|
||||||
|
.link_libc = true,
|
||||||
|
},
|
||||||
|
.{
|
||||||
|
.target = .{
|
||||||
|
.cpu_arch = .mipsel,
|
||||||
|
.os_tag = .netbsd,
|
||||||
|
// Remove this when we bump our baseline to 10.1.0.
|
||||||
|
.os_version_min = .{ .semver = .{
|
||||||
|
.major = 10,
|
||||||
|
.minor = 1,
|
||||||
|
.patch = 0,
|
||||||
|
} },
|
||||||
|
.abi = .eabihf,
|
||||||
|
},
|
||||||
|
.link_libc = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
.{
|
||||||
|
.target = .{
|
||||||
|
.cpu_arch = .powerpc,
|
||||||
|
.os_tag = .netbsd,
|
||||||
|
// Remove this when we bump our baseline to 10.1.0.
|
||||||
|
.os_version_min = .{ .semver = .{
|
||||||
|
.major = 10,
|
||||||
|
.minor = 1,
|
||||||
|
.patch = 0,
|
||||||
|
} },
|
||||||
|
.abi = .eabi,
|
||||||
|
},
|
||||||
|
.link_libc = true,
|
||||||
|
},
|
||||||
|
.{
|
||||||
|
.target = .{
|
||||||
|
.cpu_arch = .powerpc,
|
||||||
|
.os_tag = .netbsd,
|
||||||
|
// Remove this when we bump our baseline to 10.1.0.
|
||||||
|
.os_version_min = .{ .semver = .{
|
||||||
|
.major = 10,
|
||||||
|
.minor = 1,
|
||||||
|
.patch = 0,
|
||||||
|
} },
|
||||||
|
.abi = .eabihf,
|
||||||
|
},
|
||||||
|
.link_libc = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
.{
|
||||||
|
.target = .{
|
||||||
|
.cpu_arch = .x86,
|
||||||
|
.os_tag = .netbsd,
|
||||||
|
// Remove this when we bump our baseline to 10.1.0.
|
||||||
|
.os_version_min = .{ .semver = .{
|
||||||
|
.major = 10,
|
||||||
|
.minor = 1,
|
||||||
|
.patch = 0,
|
||||||
|
} },
|
||||||
|
.abi = .none,
|
||||||
|
},
|
||||||
|
.link_libc = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
.{
|
||||||
|
.target = .{
|
||||||
|
.cpu_arch = .x86_64,
|
||||||
|
.os_tag = .netbsd,
|
||||||
|
// Remove this when we bump our baseline to 10.1.0.
|
||||||
|
.os_version_min = .{ .semver = .{
|
||||||
|
.major = 10,
|
||||||
|
.minor = 1,
|
||||||
|
.patch = 0,
|
||||||
|
} },
|
||||||
|
.abi = .none,
|
||||||
|
},
|
||||||
|
.link_libc = true,
|
||||||
|
},
|
||||||
|
|
||||||
// SPIR-V Targets
|
// SPIR-V Targets
|
||||||
|
|
||||||
.{
|
.{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue