From f1b4da93161e41ece6129fcf5994c9ba2fed0a18 Mon Sep 17 00:00:00 2001 From: slauko Date: Tue, 24 Nov 2026 14:29:44 +0100 Subject: [PATCH] workflow: a windows_only dispatch input for measurement rounds The Windows job (loader + tests + artifact) is the only job a loader measurement round needs, and it is the long pole; the Wine, Linux GPU-tools and macOS jobs add wall clock and runner slots. A manual dispatch can now set windows_only=true and skip those three. The default stays the full matrix; push and pull_request runs are unchanged. --- .github/workflows/runtime.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/runtime.yml b/.github/workflows/runtime.yml index eea330b483..528d6fbfbd 100644 --- a/.github/workflows/runtime.yml +++ b/.github/workflows/runtime.yml @@ -114,6 +114,11 @@ on: - "tools/wave64_halves.py" - "tools/xdxr_bvh.py" workflow_dispatch: + inputs: + windows_only: + description: "Skip the Wine, Linux GPU-tools and macOS jobs (a measurement round that only needs the loader)" + type: boolean + default: false permissions: contents: read @@ -331,7 +336,7 @@ jobs: wine: needs: windows # The uploaded build can still be tested under Wine if the later native tests fail. - if: ${{ github.event_name != 'pull_request' && !cancelled() && needs.windows.outputs.wine-artifact == 'success' }} + if: ${{ github.event_name != 'pull_request' && !cancelled() && needs.windows.outputs.wine-artifact == 'success' && !inputs.windows_only }} runs-on: ubuntu-24.04 timeout-minutes: 20 strategy: @@ -396,6 +401,7 @@ jobs: # Also runs the hand-written GPU tests (runtime/test/shaders) on Mesa's llvmpipe, a software Vulkan driver, so a # translator or harness change that breaks a test result shows up on every pull request, without a GPU. linux-gpu-tools: + if: ${{ !inputs.windows_only }} runs-on: ubuntu-24.04 timeout-minutes: 15 env: @@ -530,6 +536,7 @@ jobs: # Mesa's KosmicKrisp finds no device there; MoltenVK runs, with 32-wide subgroups. macos-26, not macos-15: Xcode # 16's libc++ has no floating-point std::from_chars (vk_pipeline_check.cpp). macos: + if: ${{ !inputs.windows_only }} runs-on: macos-26 timeout-minutes: 20 env: