ci: run the BC7 block reference check on Linux #343

Merged
roansystemlabs merged 3 commits from upstream-pr/348 into main 2026-11-22 02:55:12 +00:00
roansystemlabs commented 2026-11-21 22:58:08 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by roansystemlabs on 2026-11-21T22:58:08Z.


Change

tests/bc7_blocks_check.py (CTest bc7_block_reference) runs only on Windows today, although it
needs nothing beyond the standard library and the BC7 helpers in tools/. This adds it to the
platform-independent Python job, so contributors on Linux and macOS get the BC7 block reference
in CI too. Independent problem; it does not touch a shared interface.

The pure-Python list in AGENTS.md had fallen behind that job (8 checks missing). It now lists
the same checks in the same order as the workflow step.

Verification

Rebased on 6024072 (re-run after rebase) + this change, Windows 11 build 26200, Python 3.12.10, fresh venv with no
packages installed (the import chain is stdlib only; the LLVM ctypes.CDLL and subprocess
calls in pixel_aot.py / pixel_aot_check.py / bc7_draw_check.py are inside functions this
check never calls):

python -B tests/bc7_blocks_check.py -v
Ran 7 tests in 0.281s
OK (skipped=1)   # test_independent_decoder: optional texture2ddecoder not installed

Negative controls, applied in memory only:

  • pinned row digest with one hex digit changed -> test_fixture fails;
  • one entry of PARTITIONS_2 flipped -> test_fixture and test_partition_tables fail.

tests/docs_links_check.py and tests/bidi_controls_check.py pass after the AGENTS.md edit.
The Linux job itself was not run locally; it runs on this PR.

Evidence and follow-up

No new fixture. #302 also edits windows.yml, but only the Windows job; no overlapping lines.

AI-assisted: prepared and submitted with the support of Roan System (AI-assisted development), reviewed by the author.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6535507369 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/348). Originally posted by [roansystemlabs](https://github.com/roansystemlabs) on 2026-11-21T22:58:08Z. --- ## Change `tests/bc7_blocks_check.py` (CTest `bc7_block_reference`) runs only on Windows today, although it needs nothing beyond the standard library and the BC7 helpers in `tools/`. This adds it to the platform-independent Python job, so contributors on Linux and macOS get the BC7 block reference in CI too. Independent problem; it does not touch a shared interface. The pure-Python list in `AGENTS.md` had fallen behind that job (8 checks missing). It now lists the same checks in the same order as the workflow step. ## Verification Rebased on `6024072` (re-run after rebase) + this change, Windows 11 build 26200, Python 3.12.10, fresh venv with no packages installed (the import chain is stdlib only; the LLVM `ctypes.CDLL` and `subprocess` calls in `pixel_aot.py` / `pixel_aot_check.py` / `bc7_draw_check.py` are inside functions this check never calls): python -B tests/bc7_blocks_check.py -v Ran 7 tests in 0.281s OK (skipped=1) # test_independent_decoder: optional texture2ddecoder not installed Negative controls, applied in memory only: - pinned row digest with one hex digit changed -> `test_fixture` fails; - one entry of `PARTITIONS_2` flipped -> `test_fixture` and `test_partition_tables` fail. `tests/docs_links_check.py` and `tests/bidi_controls_check.py` pass after the `AGENTS.md` edit. The Linux job itself was not run locally; it runs on this PR. ## Evidence and follow-up No new fixture. #302 also edits `windows.yml`, but only the Windows job; no overlapping lines. AI-assisted: prepared and submitted with the support of Roan System (AI-assisted development), reviewed by the author.
upstream-sync closed this pull request 2026-11-24 06:42:34 +00:00
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!343
No description provided.