-
Notifications
You must be signed in to change notification settings - Fork 1
ci: workflow to pre-build WASM binaries #225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
24507ed to
556d4c9
Compare
c41fac7 to
79e10d1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR introduces automation for building and publishing pre-built WASM guest binaries through a GitHub Actions workflow. This simplifies integration for downstream users by eliminating the need for WASI compilation toolchains and reducing build times. The PR also refactors the disk space cleanup logic into a reusable composite action.
- Adds a new
Prebuildworkflow that builds WASM binaries for the Python guest and Rust example (debug and release variants), generates build attestations, and publishes them as GitHub releases - Extracts disk space cleanup logic into a reusable composite action (
.github/actions/free-disk-space) - Updates documentation in CONTRIBUTING.md with instructions for triggering pre-built binary releases
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/prebuild.yml |
New workflow for building and releasing WASM binaries with attestation support |
.github/actions/free-disk-space/action.yml |
Composite action definition for freeing disk space on GitHub runners |
.github/actions/free-disk-space/free.sh |
Bash script that removes unnecessary files from GitHub runner images |
.github/workflows/ci.yml |
Updated to use the new reusable free-disk-space composite action |
CONTRIBUTING.md |
Added documentation section explaining pre-built WASM binaries and how to trigger builds |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
We likely need this for the release workflow as well. Ref #186.
79e10d1 to
7aa299e
Compare
|
Here's a release created by this workflow (see docs in PR on how to trigger builds): |
Closes #186.