Skip to content

Conversation

@onethumb
Copy link
Contributor

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

  • Which: PATCH
  • Why: no code changes

@onethumb onethumb changed the title Automate windows builds Automate Windows builds Nov 11, 2025
@onethumb onethumb requested a review from Copilot November 11, 2025 03:29
Copilot finished reviewing on behalf of onethumb November 11, 2025 03:30
Copy link
Contributor

Copilot AI left a 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.

onethumb and others added 2 commits November 10, 2025 19:42
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@onethumb onethumb merged commit 63da98e into awesomized:main Nov 11, 2025
1 check passed
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.

1 participant