Skip to content
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

Build pipeline for multiple PHP versions and targets #7

Closed
adamziel opened this issue Sep 22, 2022 · 1 comment
Closed

Build pipeline for multiple PHP versions and targets #7

adamziel opened this issue Sep 22, 2022 · 1 comment

Comments

@adamziel
Copy link
Collaborator

What problem is this issue looking to solve?

A pipeline that builds all the listed PHP versions would pave the way to one-click switching of the PHP version:

switch php versions

How does this issue proposes to solve it?

The technical foundation was shipped in 45ba8ce. Since that commit, the docker build process can be build a specific PHP version as follows:

docker build . --no-cache --tag=wasm-wordpress-php-builder --build-arg PHP_VERSION="8.0.29" --build-arg VRZNO_FLAG="--disable-vrzno"

I confirmed it works with 7.0.0, 7.0.24 and even 8.0.29 when vrzno is disabled. It may break for versions that are not compatible with the PHP patches shipped in this repo.

@adamziel
Copy link
Collaborator Author

adamziel commented Feb 2, 2023

Multiple PHP versions are now supported via npm run build:PHP:web:<VERSION> and npm run build:PHP:node:<VERSION>. See #94.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant