Skip to content

ci: install UPX through a one-shot workflow - #68

Merged
mjcheetham merged 3 commits into
mainfrom
install-upx
Nov 2, 2026
Merged

mjcheetham merged 3 commits into
mainfrom
install-upx

Conversation

@mjcheetham

@mjcheetham mjcheetham commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Rust needs full LLVM DLLs that exceed GitHub's file-size limit. Installing UPX first prepares the SDK for a subsequent clean/smudge filter without requiring locally prepared binary changes.

Run installation on a hosted runner when install-upx is pushed so the existing PR receives workflow-generated package commits without first merging a maintenance workflow into the default branch. Use GITHUB_TOKEN to push back to the triggering ref without cascade-triggering another workflow run.

Record the large-DLL rationale and run URL in the package commit, and report the installed version in the run log. Remove the one-shot workflow in a separate generated commit rather than retaining permanent maintenance machinery for a one-time installation.

@dscho dscho left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good, but I'd like a couple of changes to make this PR auto-update with the triggered update.

We could even take a page out of https://github.com/dscho/leave-me-alone-github-app's book and delete the workflow in a separate commit before pushing.

Comment thread .github/workflows/install-upx.yml Resolved
Comment thread .github/workflows/install-upx.yml Resolved
Comment thread .github/workflows/install-upx.yml Resolved
@mjcheetham mjcheetham changed the title ci: add a manual UPX installation workflow ci: install UPX through a one-shot workflow Nov 2, 2026
Rust needs full LLVM DLLs that exceed GitHub's file-size limit.
Installing UPX first prepares the SDK for a subsequent clean/smudge
filter without requiring locally prepared binary changes.

Run installation on a hosted runner when install-upx is pushed so
the existing PR receives workflow-generated package commits without
first merging a maintenance workflow into the default branch.
Use GITHUB_TOKEN to push back to the triggering ref without
cascade-triggering another workflow run.

Record the large-DLL rationale and run URL in the package commit,
and report the installed version in the run log. Remove the one-shot
workflow in a separate generated commit rather than retaining
permanent maintenance machinery for a one-time installation.

Assisted-by: GPT-6.1 Sol
Signed-off-by: Matthew John Cheetham <[email protected]>
@mjcheetham

Copy link
Copy Markdown
Member Author

x86_64 counterpart PR: git-for-windows#135

Git for Windows Build Agent added 2 commits November 2, 2026 05:12
Large DLLs can exceed GitHub's maximum allowed blob size.
Keep UPX in the SDK so these files can be packed for storage,
allowing the resulting SDK updates to be pushed to GitHub.

Generated by https://github.com/git-for-windows/git-sdk-arm64/actions/runs/41450516853

Signed-off-by: Git for Windows Build Agent <[email protected]>
UPX installation has completed. Remove this temporary workflow
rather than retaining a maintenance action that is no longer needed.

Generated by https://github.com/git-for-windows/git-sdk-arm64/actions/runs/41450516853

Signed-off-by: Git for Windows Build Agent <[email protected]>

@dscho dscho left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@mjcheetham
mjcheetham merged commit 7de0f8a into main Nov 2, 2026
22 checks passed
@mjcheetham
mjcheetham deleted the install-upx branch November 2, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants