diff options
| author | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-12-01 12:43:58 -0500 |
|---|---|---|
| committer | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-12-01 12:43:58 -0500 |
| commit | dfce074a05a58aed880f0385b5219ca8e755ce88 (patch) | |
| tree | da004a5134b4c9f827edc692953fe15db878f40f /docs/testing.md | |
| parent | d2a564b66a96127bc06bb348f3fae52d11e4461e (diff) | |
ci: exclude deprecated legacy C++ runtime/ from automatic CI runsci/exclude-legacy-cpp-runtime-tests
Diffstat (limited to 'docs/testing.md')
| -rw-r--r-- | docs/testing.md | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/testing.md b/docs/testing.md index abfd277cd..a5686330c 100644 --- a/docs/testing.md +++ b/docs/testing.md | |||
| @@ -289,11 +289,11 @@ belongs to the commit that built it; check that commit out as well. | |||
| 289 | 289 | ||
| 290 | If you cannot build the test programs locally, the Runtime workflow publishes them as the `runtime-windows` | 290 | If you cannot build the test programs locally, the Runtime workflow publishes them as the `runtime-windows` |
| 291 | artifact of its own commit. It holds Windows executables, so use them on Windows or under Wine as in the | 291 | artifact of its own commit. It holds Windows executables, so use them on Windows or under Wine as in the |
| 292 | section below; GitHub expires the artifact after 7 days. Not every commit on `main` has one: the workflow runs | 292 | section below; GitHub expires the artifact after 7 days. Because the legacy C++ `runtime/` is deprecated in favor |
| 293 | only when a commit touches what it builds or reads (the `paths` list in `.github/workflows/runtime.yml`), so a | 293 | of `d3d12/` and the new Rust Vulkan runtime (in progress), `.github/workflows/runtime.yml` no longer runs |
| 294 | commit that changes only docs, tests or other tools has no Runtime run. Take the most recent run under | 294 | automatically on pushes or pull requests; start a run of the commit you want with "Run workflow" |
| 295 | Actions -> Runtime, and check out the commit it built, or start a run of the commit you want on your own fork with | 295 | (`workflow_dispatch`) or take an existing run under Actions -> Runtime and check out the commit it built. Download |
| 296 | "Run workflow" (`workflow_dispatch`). Download and unzip `runtime-windows`, and pass the unzipped folder to `--build`: | 296 | and unzip `runtime-windows`, and pass the unzipped folder to `--build`: |
| 297 | 297 | ||
| 298 | ```sh | 298 | ```sh |
| 299 | python -I scripts/run_gpu_tests.py --build <unzipped runtime-windows> | 299 | python -I scripts/run_gpu_tests.py --build <unzipped runtime-windows> |
| @@ -794,9 +794,9 @@ capabilities first: they enable `shaderInt64` only for one that declares `Int64` | |||
| 794 | 794 | ||
| 795 | ## Without a GPU: Mesa llvmpipe | 795 | ## Without a GPU: Mesa llvmpipe |
| 796 | 796 | ||
| 797 | Mesa's llvmpipe is a software Vulkan driver (`mesa-vulkan-drivers` on Debian and Ubuntu). CI runs the suite on it | 797 | Mesa's llvmpipe is a software Vulkan driver (`mesa-vulkan-drivers` on Debian and Ubuntu). `.github/workflows/runtime.yml` |
| 798 | for every pull request that touches the runtime, the scripts or a tool the jobs read (`.github/workflows/runtime.yml` | 798 | can run the legacy C++ `runtime/` suite on it via manual `workflow_dispatch` (automatic runs are disabled while the |
| 799 | lists them), and you can do the same on Linux without a GPU: | 799 | legacy C++ `runtime/` is deprecated), and you can do the same locally on Linux without a GPU: |
| 800 | 800 | ||
| 801 | ```sh | 801 | ```sh |
| 802 | sudo apt-get install -y libvulkan-dev mesa-vulkan-drivers vulkan-tools spirv-tools llvm-21 | 802 | sudo apt-get install -y libvulkan-dev mesa-vulkan-drivers vulkan-tools spirv-tools llvm-21 |