ci: check native DXIL generation on cpp-migration pull requests #2942

Manually merged
github merged 1 commit from gh-pr/2942/head into gh-pr/2942/base 2026-11-27 01:29:56 +00:00
Owner

@⁠sydney-0o on GitHub · 2026-11-26 22:31 UTC · original
sydney-0o:codex/cpp-migration-pr-ci → cpp-migration · +11 −1 · 2 files · 1 commits · merged 2026-11-26 22:50 UTC

The Windows workflow's pull request filter omitted cpp-migration, so updates to the native frontend could merge into that branch without running the workflow. Enable the existing PR jobs for this base and add a Windows step that builds compile_dxil and runs the direct DXIL container controls. The step uses --no-tests=error so a missing test registration fails the check.

Verified the workflow YAML, event filters and step condition. Ran the new step's build and test commands locally on Windows at 387853af after configuring the dev preset with the fixture Python environment.

cmake --build --preset dev --target compile_dxil
ctest --preset dev --no-tests=error -R '^native_dxil_llvm_ident_controls$'

Build passed. CTest reported 1 passed, 0 skipped, 0 failed. The hosted PR event was not exercised locally.

AI-assisted.

**@⁠sydney-0o** on GitHub · 2026-11-26 22:31 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2942) `sydney-0o:codex/cpp-migration-pr-ci` → `cpp-migration` · +11 −1 · 2 files · 1 commits · merged 2026-11-26 22:50 UTC The Windows workflow's pull request filter omitted `cpp-migration`, so updates to the native frontend could merge into that branch without running the workflow. Enable the existing PR jobs for this base and add a Windows step that builds `compile_dxil` and runs the direct DXIL container controls. The step uses `--no-tests=error` so a missing test registration fails the check. Verified the workflow YAML, event filters and step condition. Ran the new step's build and test commands locally on Windows at `387853af` after configuring the dev preset with the fixture Python environment. ```powershell cmake --build --preset dev --target compile_dxil ctest --preset dev --no-tests=error -R '^native_dxil_llvm_ident_controls$' ``` Build passed. CTest reported 1 passed, 0 skipped, 0 failed. The hosted PR event was not exercised locally. AI-assisted.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 01:29:54 +00:00
github manually merged commit 387853afca into gh-pr/2942/base 2026-11-27 01:29:56 +00:00
Author
Owner

@⁠MasterDomino on GitHub · 2026-11-26 22:50 UTC · original · approved these changes

Review of head 387853af. Approving and merging.

  • Trigger: pull_request.branches now includes cpp-migration. Pull request runs use the workflow from the merge result, so this PR has already exercised itself. Run 45905381055 against base cpp-migration passed Build and test on Windows, Run platform-independent Python checks on Linux and Assemble and translate gfx1013 fixtures. So the existing PR jobs are green on this branch, and turning them on does not block the next pull request on an existing failure.
  • New step: it sits in build-and-test after Configure, build and run PC tests. Its if: has no status function, so it only runs when the earlier steps succeeded. It reuses that job's dev configure. In the run above, step 13 Check native DXIL generation on migration pull requests ran and logged 1/1 Test #2439: native_dxil_llvm_ident_controls ... Passed.
  • CONTRIBUTING.md describes the new check accurately.

Suggestion for a follow-up, not blocking: the step pins only native_dxil_llvm_ident_controls. Other native checks need no adapter: native_pack_b32_f16_ir, native_dpp_quad_controls and native_direct_container, and the native_lds_request CLI check if the runner has the Python environment. Adding those would catch more frontend regressions on the hosted runner. The _hardware tests still need contributor GPUs.

AI-assisted.

**@⁠MasterDomino** on GitHub · 2026-11-26 22:50 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2942#pullrequestreview-6081258281) · **approved these changes** Review of head `387853af`. Approving and merging. - **Trigger:** `pull_request.branches` now includes `cpp-migration`. Pull request runs use the workflow from the merge result, so this PR has already exercised itself. [Run 45905381055](https://github.com/R0Y00/Xbox2Windows/actions/runs/45905381055) against base `cpp-migration` passed `Build and test on Windows`, `Run platform-independent Python checks on Linux` and `Assemble and translate gfx1013 fixtures`. So the existing PR jobs are green on this branch, and turning them on does not block the next pull request on an existing failure. - **New step:** it sits in `build-and-test` after `Configure, build and run PC tests`. Its `if:` has no status function, so it only runs when the earlier steps succeeded. It reuses that job's `dev` configure. In the run above, step 13 `Check native DXIL generation on migration pull requests` ran and logged `1/1 Test #2439: native_dxil_llvm_ident_controls ... Passed`. - `CONTRIBUTING.md` describes the new check accurately. **Suggestion for a follow-up, not blocking:** the step pins only `native_dxil_llvm_ident_controls`. Other native checks need no adapter: `native_pack_b32_f16_ir`, `native_dpp_quad_controls` and `native_direct_container`, and the `native_lds_request` CLI check if the runner has the Python environment. Adding those would catch more frontend regressions on the hosted runner. The `_hardware` tests still need contributor GPUs. AI-assisted.
This discussion has been locked. Commenting is limited to contributors.
No description provided.