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

Update Windows CI workflow for PHP 8.4 #318

Merged
merged 3 commits into from
Aug 20, 2024

Conversation

cmb69
Copy link
Collaborator

@cmb69 cmb69 commented Aug 5, 2024

We also update to the latest actions:

  • setup-php-sdk v9 is required for PHP 8.4 support
  • actions/checkout v4 and actions/upload-artifact v4 are not deprecated

Not sure whether the uploaded artifacts still make sense. That might have been added since until recently DLLs have not been shown on https://pecl.php.net/package/parallel. On the other hand, these artifacts may be helpful for Windows users testing a bug fix or new feature.

We also update to the latest actions:

* setup-php-sdk v9 is required for PHP 8.4 support
* actions/checkout v4 and actions/upload-artifact v4 are not deprecated
@realFlowControl
Copy link
Collaborator

Not sure whether the uploaded artifacts still make sense. That might have been added since until recently DLLs have not been shown on https://pecl.php.net/package/parallel. On the other hand, these artifacts may be helpful for Windows users testing a bug fix or new feature.

I do not understand this comment, sorry. Can you elaborate?

@cmb69
Copy link
Collaborator Author

cmb69 commented Aug 5, 2024

See https://github.com/krakjoe/parallel/actions/runs/10253935939?pr=318. There are downloads of the Windows DLLs (the same as the downloads via PECL). These are only useful for testing purposes nowadays, since php/web-pecl#97 had been merged (previously, the parallel DLLs have not been displayed on the PECL package page).

@cmb69
Copy link
Collaborator Author

cmb69 commented Aug 5, 2024

Oh, I've just noticed that Windows CI still uses pthreadsV2; should probably be updated to pthreadsV3. Need to check that out.

We also use the new download server to fetch that dependency.
That might prevent issues when a new windows runner is made available
by Github.
@cmb69
Copy link
Collaborator Author

cmb69 commented Aug 5, 2024

Oh, I've just noticed that Windows CI still uses pthreadsV2; should probably be updated to pthreadsV3. Need to check that out.

Indeed, the PECL DLLs (at least as of PHP 8.0) are also using V3, so I've updated that, and also switched to windows-2022, to prevent potential problems with a new runner.

@realFlowControl
Copy link
Collaborator

Thank you ❤️

@realFlowControl realFlowControl merged commit 87e71d3 into krakjoe:develop Aug 20, 2024
54 checks passed
@cmb69 cmb69 deleted the cmb/update-win-ci branch August 20, 2024 09:13
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