Skip to content

Add test job to build and install PECL package #1559

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

Merged
merged 1 commit into from
May 22, 2024

Conversation

alcaeus
Copy link
Member

@alcaeus alcaeus commented May 22, 2024

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.

@alcaeus alcaeus requested a review from jmikola May 22, 2024 12:31
Copy link
Member

@jmikola jmikola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for creating PHPC-2387. That seems like an entirely sensible improvement.

@alcaeus alcaeus merged commit 6e70d07 into mongodb:v1.19 May 22, 2024
48 of 52 checks passed
@alcaeus alcaeus deleted the feature/test-pecl-packaging branch May 22, 2024 13:53
This was referenced May 22, 2024
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.

2 participants