-
Notifications
You must be signed in to change notification settings - Fork 1
Automate Windows builds #3
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
WIP. Debug Windows Release workflow. WIP. Debug Windows Release workflow. WIP. Debug Windows Release workflow
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 automates the creation of Windows release builds for the crc_fast PHP extension. When a version tag is pushed and tests pass, the workflow automatically builds Windows DLLs for multiple PHP versions and architectures, then creates a draft GitHub release with these artifacts attached. This eliminates the need for manual Windows builds and ensures consistent, reproducible releases.
- Updates the test workflow to use pre-built releases of the crc-fast-rust library instead of building from source
- Adds a new Windows Release workflow that triggers on successful test runs for version tags
- Implements multi-architecture (x64, arm64) and multi-PHP version (8.1-8.4) build matrix using php-windows-builder
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
.kiro/specs/windows-automated-releases/tasks.md |
Implementation plan tracking completed tasks for the Windows release automation feature |
.kiro/specs/windows-automated-releases/requirements.md |
Requirements documentation outlining the acceptance criteria for the automated release system |
.kiro/specs/windows-automated-releases/design.md |
Detailed design document describing the architecture, components, and implementation details of the release workflow |
.github/workflows/windows-release.yaml |
New workflow file implementing the Windows release automation with build matrix, library download, and draft release creation |
.github/workflows/tests.yaml |
Updated test workflow to download pre-built crc-fast library releases instead of building from source |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
The Problem
We'd like to product automated release builds for Windows and attach them to immutable GitHub releases.
The Solution
Add a Windows Release GitHub workflow that builds Windows releases (DLLs), opens a Draft Release, and attaches the DLLs to the release.
Changes
Planned version bump
PATCH