| ... | ... | @@ -140,6 +140,15 @@ const test_targets = blk: { |
| 140 | 140 | .use_llvm = false, |
| 141 | 141 | .use_lld = false, |
| 142 | 142 | }, |
| 143 | .{ |
| 144 | .target = std.Target.Query.parse(.{ |
| 145 | .arch_os_abi = "spirv64-vulkan", |
| 146 | .cpu_features = "vulkan_v1_2+int8+int16+int64+float16+float64", |
| 147 | }) catch unreachable, |
| 148 | .use_llvm = false, |
| 149 | .use_lld = false, |
| 150 | .skip_modules = &.{ "c-import", "universal-libc", "std" }, |
| 151 | }, |
| 143 | 152 | // https://github.com/ziglang/zig/issues/13623 |
| 144 | 153 | //.{ |
| 145 | 154 | // .target = .{ |
| ... | ... | @@ -1583,6 +1592,10 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step { |
| 1583 | 1592 | run.setName(b.fmt("run test {s}", .{qualified_name})); |
| 1584 | 1593 | |
| 1585 | 1594 | step.dependOn(&run.step); |
| 1595 | } else if (target.cpu.arch.isSpirV()) { |
| 1596 | // Don't run spirv binaries |
| 1597 | _ = these_tests.getEmittedBin(); |
| 1598 | step.dependOn(&these_tests.step); |
| 1586 | 1599 | } else { |
| 1587 | 1600 | const run = b.addRunArtifact(these_tests); |
| 1588 | 1601 | run.skip_foreign_checks = true; |