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

Manually merged
github merged 3 commits from gh-pr/348/head into gh-pr/348/base 2026-11-26 21:44:54 +00:00
Owner

@⁠roansystemlabs on GitHub · 2026-11-21 22:58 UTC · original
roansystemlabs:ci/bc7-blocks-ubuntu → main · +16 −3 · 2 files · 3 commits · merged 2026-11-22 02:55 UTC

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.

**@⁠roansystemlabs** on GitHub · 2026-11-21 22:58 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/348) `roansystemlabs:ci/bc7-blocks-ubuntu` → `main` · +16 −3 · 2 files · 3 commits · merged 2026-11-22 02:55 UTC ## 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.
tests/bc7_blocks_check.py uses only the standard library and the BC7
helpers in tools/, so it can run in the platform-independent Python job
next to bcpack_check. Until now it ran only through CTest on Windows
(bc7_block_reference).

The pure-Python list in AGENTS.md had fallen behind the workflow; it now
lists the same checks in the same order.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 21:44:53 +00:00
github manually merged commit e9980f0bc3 into gh-pr/348/base 2026-11-26 21:44:54 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.