Run platform-independent Python checks on Linux #80
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!80
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/80/head"
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?
@Vonsek on GitHub · 2026-11-21 15:41 UTC · original
Vonsek:linux-python-checks→main· +22 −1 · 2 files · 2 commits · merged 2026-11-21 15:47 UTCChange
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.