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

Fix/update Windows CI #330

Merged
merged 3 commits into from
Nov 5, 2024
Merged

Fix/update Windows CI #330

merged 3 commits into from
Nov 5, 2024

Conversation

cmb69
Copy link
Collaborator

@cmb69 cmb69 commented Nov 5, 2024

This should fix the build artifact upload which is broken as of 10e43f1 (sorry, my bad). It should also use the caches of this repository to speed up the setup of the PHP SDK.

cmb69 added 3 commits November 5, 2024 12:08
The actions/upload-artifacts@v4 ignores hidden folders (unless
explicitly told not to), and there is no need for that.  Instead we
install into a folder outside of the sources.
The latter should bring a considerable performance improvement.
The upload action is picky about "relative paths", so we work around.
@cmb69
Copy link
Collaborator Author

cmb69 commented Nov 5, 2024

@realFlowControl, it seems one (or more) of the test cases are flaky on Windows. I had to cancel PHP 8.2 after 30mins, and the previous run cancelled almost all Windows runners. I have no idea why; maybe an issue with the rather old pthreads 3.0.0? (unfortunately, there have been no releases for a couple of years)

@realFlowControl
Copy link
Collaborator

I have seen this as well, that sometimes one of the Windows tests is just super slow. Restarting it mostly works ...

@realFlowControl realFlowControl merged commit 9489365 into krakjoe:develop Nov 5, 2024
52 of 54 checks passed
@realFlowControl
Copy link
Collaborator

Is there anything further I need to do for the artefacts to show up in pecl?

@cmb69
Copy link
Collaborator Author

cmb69 commented Nov 5, 2024

The artifacts for PECL are built and uploaded by the https://github.com/php/php-windows-builder team. I guess they're just busy, and will upload soon.

The CI artifacts are just meant for testing purposes. E.g. checking that a bug fix works as expected.

@cmb69 cmb69 deleted the cmb/win-ci branch November 5, 2024 13:02
@realFlowControl
Copy link
Collaborator

Thanks for the clarification 🙇

@realFlowControl realFlowControl added this to the v1.2.6 milestone Jan 29, 2025
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