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

Merged
sydney-0o merged 1 commit from upstream-pr/2942 into cpp-migration 2026-11-26 22:50:56 +00:00
sydney-0o commented 2026-11-26 22:31:52 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by sydney-0o on 2026-11-26T22:31:52Z.


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.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:5518037722 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2942). Originally posted by [sydney-0o](https://github.com/sydney-0o) on 2026-11-26T22:31:52Z. --- 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.
MasterDomino commented 2026-11-26 22:50:53 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by MasterDomino on 2026-11-26T22:50:53Z.

Review: APPROVED


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.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6081258281 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2942#pullrequestreview-6081258281). Originally posted by [MasterDomino](https://github.com/MasterDomino) on 2026-11-26T22:50:53Z. **Review:** APPROVED --- 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.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
R0Y00/Xbox2Windows!2942
No description provided.