Run platform-independent Python checks on Linux #79
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/80"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from R0Y00/Xbox2Windows. Originally posted by Vonsek on 2026-11-21T15:41:05Z.
Change
Adds a
python-linuxjob to the existing workflow that runs the six Python checks that need no Windows-built binaries:script_state_check,bcpack_check,resource_ranges_check,dxcontainer_part_offsets_check,layout_chunks_checkandintake/paths_check(registered in CMake asconditional_import_paths). These currently run only inside the Windows CTest job, so a Linux contributor gets no CI signal for them and a parser regression shows up only after the full Windows build. Refs #56.CONTRIBUTING.md gets one sentence describing the new job. Action SHAs and
persist-credentials: falsematch the existing jobs.Verification
On Linux with Python 3.13 and
pip install -r requirements-dev.txt:The workflow YAML parses. The job itself (Python 3.12 on ubuntu-24.04) runs for the first time on this PR.
Windows:
ctest --preset dev --no-tests=error -R '^(script_state_literals|bcpack_prefix_and_mip_tail|resource_range_controls|dxcontainer_part_offsets|layout_chunk_summary|conditional_import_paths)$' -Vat3e763a5on Windows 11 build 26200.9974, VS Build Tools 2022 17.14 (MSVC 14.44.35207), Windows SDK 10.0.26100, Python 3.12, RTX 5080 (driver 32.0.16.1692): 6/6 passed.Evidence and follow-up
No new fixtures. Every other script in
tests/,tests/cpuandtests/intakewas checked with no arguments: they need built binaries or tool paths, andcpu/native_map_check.pyusesctypes.WinDLL, so they stay Windows-only. The Windows CTest job is unchanged, so these six still run there too.