Add multi-architecture GitHub Actions workflow for PHP extension builds #8
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.
Adds automated builds for Linux x86_64 and arm64 across PHP 8.1-8.4, supporting both glibc (Debian) and musl (Alpine) variants.
Changes
Dockerfile: Multi-stage build copying Rust 1.92 toolchain from official image into PHP base images. Configurable via
PHP_VERSIONandBASE_IMAGEbuild args.GitHub Actions workflow (
.github/workflows/build-multi-arch.yml):libext_shopware-php{VERSION}-{ARCH}-{LIBC}.soLocal build script (
build-local.sh): Wrapper for Docker builds matching CI configurationDocumentation:
BUILD.md: Build instructions and troubleshooting.github/ARTIFACTS.md: Artifact download and installation guideREADME.mdwith pre-built binaries sectionUsage
Local builds:
CI artifacts available at Actions → Build Multi-Architecture → Artifacts
Build Matrix
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.