Skip to content

Commit aeebb13

Browse files
committed
test: Add NetBSD targets to module test matrix.
1 parent 9d8acf9 commit aeebb13

File tree

1 file changed

+207
-0
lines changed

1 file changed

+207
-0
lines changed

test/tests.zig

Lines changed: 207 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1232,6 +1232,213 @@ const test_targets = blk: {
12321232
},
12331233
},
12341234

1235+
// NetBSD Targets
1236+
1237+
.{
1238+
.target = .{
1239+
.cpu_arch = .aarch64,
1240+
.os_tag = .netbsd,
1241+
// Remove this when we bump our baseline to 10.1.0.
1242+
.os_version_min = .{ .semver = .{
1243+
.major = 10,
1244+
.minor = 1,
1245+
.patch = 0,
1246+
} },
1247+
.abi = .none,
1248+
},
1249+
.link_libc = true,
1250+
},
1251+
1252+
.{
1253+
.target = .{
1254+
.cpu_arch = .aarch64_be,
1255+
.os_tag = .netbsd,
1256+
// Remove this when we bump our baseline to 10.1.0.
1257+
.os_version_min = .{ .semver = .{
1258+
.major = 10,
1259+
.minor = 1,
1260+
.patch = 0,
1261+
} },
1262+
.abi = .none,
1263+
},
1264+
.link_libc = true,
1265+
},
1266+
1267+
.{
1268+
.target = .{
1269+
.cpu_arch = .arm,
1270+
.os_tag = .netbsd,
1271+
// Remove this when we bump our baseline to 10.1.0.
1272+
.os_version_min = .{ .semver = .{
1273+
.major = 10,
1274+
.minor = 1,
1275+
.patch = 0,
1276+
} },
1277+
.abi = .eabi,
1278+
},
1279+
.link_libc = true,
1280+
},
1281+
.{
1282+
.target = .{
1283+
.cpu_arch = .arm,
1284+
.os_tag = .netbsd,
1285+
// Remove this when we bump our baseline to 10.1.0.
1286+
.os_version_min = .{ .semver = .{
1287+
.major = 10,
1288+
.minor = 1,
1289+
.patch = 0,
1290+
} },
1291+
.abi = .eabihf,
1292+
},
1293+
.link_libc = true,
1294+
},
1295+
1296+
.{
1297+
.target = .{
1298+
.cpu_arch = .armeb,
1299+
.os_tag = .netbsd,
1300+
// Remove this when we bump our baseline to 10.1.0.
1301+
.os_version_min = .{ .semver = .{
1302+
.major = 10,
1303+
.minor = 1,
1304+
.patch = 0,
1305+
} },
1306+
.abi = .eabi,
1307+
},
1308+
.link_libc = true,
1309+
},
1310+
.{
1311+
.target = .{
1312+
.cpu_arch = .armeb,
1313+
.os_tag = .netbsd,
1314+
// Remove this when we bump our baseline to 10.1.0.
1315+
.os_version_min = .{ .semver = .{
1316+
.major = 10,
1317+
.minor = 1,
1318+
.patch = 0,
1319+
} },
1320+
.abi = .eabihf,
1321+
},
1322+
.link_libc = true,
1323+
},
1324+
1325+
.{
1326+
.target = .{
1327+
.cpu_arch = .mips,
1328+
.os_tag = .netbsd,
1329+
// Remove this when we bump our baseline to 10.1.0.
1330+
.os_version_min = .{ .semver = .{
1331+
.major = 10,
1332+
.minor = 1,
1333+
.patch = 0,
1334+
} },
1335+
.abi = .eabi,
1336+
},
1337+
.link_libc = true,
1338+
},
1339+
.{
1340+
.target = .{
1341+
.cpu_arch = .mips,
1342+
.os_tag = .netbsd,
1343+
// Remove this when we bump our baseline to 10.1.0.
1344+
.os_version_min = .{ .semver = .{
1345+
.major = 10,
1346+
.minor = 1,
1347+
.patch = 0,
1348+
} },
1349+
.abi = .eabihf,
1350+
},
1351+
.link_libc = true,
1352+
},
1353+
1354+
.{
1355+
.target = .{
1356+
.cpu_arch = .mipsel,
1357+
.os_tag = .netbsd,
1358+
// Remove this when we bump our baseline to 10.1.0.
1359+
.os_version_min = .{ .semver = .{
1360+
.major = 10,
1361+
.minor = 1,
1362+
.patch = 0,
1363+
} },
1364+
.abi = .eabi,
1365+
},
1366+
.link_libc = true,
1367+
},
1368+
.{
1369+
.target = .{
1370+
.cpu_arch = .mipsel,
1371+
.os_tag = .netbsd,
1372+
// Remove this when we bump our baseline to 10.1.0.
1373+
.os_version_min = .{ .semver = .{
1374+
.major = 10,
1375+
.minor = 1,
1376+
.patch = 0,
1377+
} },
1378+
.abi = .eabihf,
1379+
},
1380+
.link_libc = true,
1381+
},
1382+
1383+
.{
1384+
.target = .{
1385+
.cpu_arch = .powerpc,
1386+
.os_tag = .netbsd,
1387+
// Remove this when we bump our baseline to 10.1.0.
1388+
.os_version_min = .{ .semver = .{
1389+
.major = 10,
1390+
.minor = 1,
1391+
.patch = 0,
1392+
} },
1393+
.abi = .eabi,
1394+
},
1395+
.link_libc = true,
1396+
},
1397+
.{
1398+
.target = .{
1399+
.cpu_arch = .powerpc,
1400+
.os_tag = .netbsd,
1401+
// Remove this when we bump our baseline to 10.1.0.
1402+
.os_version_min = .{ .semver = .{
1403+
.major = 10,
1404+
.minor = 1,
1405+
.patch = 0,
1406+
} },
1407+
.abi = .eabihf,
1408+
},
1409+
.link_libc = true,
1410+
},
1411+
1412+
.{
1413+
.target = .{
1414+
.cpu_arch = .x86,
1415+
.os_tag = .netbsd,
1416+
// Remove this when we bump our baseline to 10.1.0.
1417+
.os_version_min = .{ .semver = .{
1418+
.major = 10,
1419+
.minor = 1,
1420+
.patch = 0,
1421+
} },
1422+
.abi = .none,
1423+
},
1424+
.link_libc = true,
1425+
},
1426+
1427+
.{
1428+
.target = .{
1429+
.cpu_arch = .x86_64,
1430+
.os_tag = .netbsd,
1431+
// Remove this when we bump our baseline to 10.1.0.
1432+
.os_version_min = .{ .semver = .{
1433+
.major = 10,
1434+
.minor = 1,
1435+
.patch = 0,
1436+
} },
1437+
.abi = .none,
1438+
},
1439+
.link_libc = true,
1440+
},
1441+
12351442
// SPIR-V Targets
12361443

12371444
.{

0 commit comments

Comments
 (0)