upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/testing.md
diff options
context:
space:
mode:
authorJolymmiles <75259437+Jolymmiles@users.noreply.github.com>2026-11-23 02:21:52 +0400
committerJolymmiles <75259437+Jolymmiles@users.noreply.github.com>2026-11-23 02:21:52 +0400
commitf02e952272c7fcbb7773bb3e3b83e42fec7bc754 (patch)
treebd65791216bf6a7dc175b6fcb5614ba1e4a6d484 /docs/testing.md
parentaa2988cc555bad7ecd508b48a702adbb32fe7c95 (diff)
CI: a macOS (Apple Silicon) job for the runtime on MoltenVK and the Python suites
runtime.yml gets a macos job on macos-26: Homebrew's MoltenVK, Vulkan headers and loader, llvm-mc, SPIRV-Tools and glslang; the runtime built through sccache; ctest and run_gpu_tests.py on MoltenVK. ci.yml gets macos-python: the standard-library loop, the semantic suite alongside it, and the pytest files with Homebrew's llvm-mc. The hosted runner's Metal device is Apple Paravirtual device (family Mac2), which MoltenVK runs on; KosmicKrisp finds no device there. macos-15 can't build the runtime (Xcode 16's libc++ has no floating-point std::from_chars). The two tests that fail on MoltenVK today, also on an M3 Max, are listed with the pull requests that fix them (xdxr_build_check: #2423, ps_ssharp: #1845); scripts/ci_expected_failures.py fails the step on any other failure and notes an expected one that passes.
Diffstat (limited to 'docs/testing.md')
-rw-r--r--docs/testing.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/testing.md b/docs/testing.md
index fc695d014..38deb1bcd 100644
--- a/docs/testing.md
+++ b/docs/testing.md
@@ -310,6 +310,16 @@ instruction"), which is why the second run is limited to compute. llvmpipe is no
310real GPU in [#166](https://github.com/ItsNotRexed/Leonida/issues/166): it catches regressions, not hardware 310real GPU in [#166](https://github.com/ItsNotRexed/Leonida/issues/166): it catches regressions, not hardware
311differences. 311differences.
312 312
313## Macs in CI
314
315The `macos` job in `.github/workflows/runtime.yml` builds the runtime on GitHub's `macos-26` arm64 runner and runs
316`ctest` and `run_gpu_tests.py` on MoltenVK; `macos-python` in `ci.yml` runs the Python suites. The runner is a VM
317whose Metal device is "Apple Paravirtual device" (Metal family Mac2, not Apple7): MoltenVK runs on it with 32-wide
318subgroups, so the wave64 and "32 lanes on request" tests skip there (about 75 of 190 in November 2026), and Mesa's
319KosmicKrisp finds no device. `macos-15` can't build the runtime: Xcode 16's libc++ has no floating-point
320`std::from_chars`. A test known to fail on MoltenVK is listed in the step's `EXPECTED_FAILURES` with the pull
321request or coordination-issue finding that tracks it; it still runs, and `scripts/ci_expected_failures.py` fails the step on any other failure.
322
313## GPUs without fragment barycentrics (NVIDIA Volta, Pascal and older) 323## GPUs without fragment barycentrics (NVIDIA Volta, Pascal and older)
314 324
315`ps_bary`, `ps_uniform_branch` and `ps_scc_mask32` read raw barycentrics, which need 325`ps_bary`, `ps_uniform_branch` and `ps_scc_mask32` read raw barycentrics, which need