ci: add manual PyInstaller test-build workflow - #408
Merged
Conversation
Port of ALEAPP's test_builds.yml with names adapted. Builds the CLI and GUI with PyInstaller on Windows x64/arm64 and Linux x64/arm64 on manual dispatch, runs each frozen CLI (--help plus an end-to-end empty-input run), and uploads the binaries as workflow artifacts. Carries ALEAPP's lesson baked in: pyinstaller>=6.22 installs in its own pip command because requirements.txt pins packaging==20.1, which would otherwise drag pyinstaller to 4.5.1 (dead on Python 3.14). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Port of ALEAPP's test_builds.yml with names adapted. On manual dispatch it builds the CLI and GUI with PyInstaller on Windows x64/arm64 and Linux x64/arm64, smoke-tests each frozen CLI (--help plus an end-to-end empty-input run that must exit cleanly), and uploads the binaries as 14-day workflow artifacts. Not a release pipeline; it exists so testable binaries can be produced and actually executed per platform.
ALEAPP's two first-dispatch lessons are baked in from the start: pyinstaller>=6.22 installs in its own pip command (requirements.txt pins packaging==20.1, which would otherwise drag pyinstaller down to 4.5.1, dead on Python 3.14), and the hidden-import gaps in the specs are fixed in #407, which this builds on. The frozen CLI was verified locally on macOS before this: 385 modules loaded, clean exit. The Windows arm64 leg is exploratory (PyMuPDF and pillow-heif wheel coverage there is unproven); fail-fast is off, so a red leg is information.
I will dispatch a run after merge and report.
🤖 Generated with Claude Code