mongodb / mongo-php-driver

The Official MongoDB PHP driver
https://pecl.php.net/package/mongodb
Apache License 2.0
886 stars 201 forks source link

Add test job to build and install PECL package #1559

Closed alcaeus closed 4 months ago

alcaeus commented 4 months ago

This PR adds a new job to the tests workflow to build and install a PECL package for the current dev version. The idea behind this is to ensure that any changes to bundled dependencies are correctly reflected in the PECL package, as this has been a source of errors before.

Note that due to how make package.xml extracts the version number and the stability, a full build of the driver is necessary in order to build a PECL package. I've filed PHPC-2387 to optimise this and obtain the information from phongo_version.h as we do in the update-release-version script.