Skip to content

Add split build/test callable workflow for validation#1067

Merged
bob80905 merged 3 commits intollvm:mainfrom
bob80905:split_build_from_test
Apr 16, 2026
Merged

Add split build/test callable workflow for validation#1067
bob80905 merged 3 commits intollvm:mainfrom
bob80905:split_build_from_test

Conversation

@bob80905
Copy link
Copy Markdown
Contributor

@bob80905 bob80905 commented Apr 8, 2026

Every PR test job holds a GPU runner for the full build+test duration (7–16 min), even though 67–86% of that time is CPU-only DXC/LLVM compilation. With one self-hosted runner per GPU SKU, this means builds block GPU-dependent test work unnecessarily.

This PR adds two new, standalone workflow files — no existing workflows are modified:

build-and-test-split-callable.yaml — A split version of the callable workflow:

  • Build job: Runs on any available runner of the matching architecture ([self-hosted, Windows, X64] for Intel/NVIDIA/AMD, [self-hosted, ARM64, Windows] for QC). Builds DXC + LLVM, uploads artifacts via tar.
  • Test job: Runs on the GPU-specific runner (hlsl-${{ inputs.SKU }}). Downloads build artifacts, extracts with --touch to preserve ninja timestamp freshness, then runs tests.
  • macOS: Unchanged — stays as a single combined job since builds are only ~1 min.

validate-split-build-test.yaml — A workflow_dispatch workflow to validate the split callable per-SKU before migrating production workflows.

Fixes #1081

Assisted by: Github Copilot

@bob80905 bob80905 changed the title first attempt Add split build/test callable workflow for validation Apr 8, 2026
@bob80905 bob80905 marked this pull request as ready for review April 8, 2026 22:59
Comment thread .github/workflows/build-and-test-split-callable.yaml Outdated
Comment thread .github/workflows/build-and-test-split-callable.yaml Outdated
Comment thread .github/workflows/build-and-test-split-callable.yaml Outdated
@inbelic inbelic requested a review from tex3d April 15, 2026 17:17
@bob80905 bob80905 merged commit 70ef868 into llvm:main Apr 16, 2026
11 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Split build jobs from test jobs in the offload test suite.

3 participants