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

try windows releases #336

Draft
wants to merge 4 commits into
base: develop
Choose a base branch
from
Draft

Conversation

realFlowControl
Copy link
Collaborator

No description provided.

@realFlowControl realFlowControl force-pushed the florian/windows-build branch 3 times, most recently from 5fd8817 to 248a8de Compare December 13, 2024 11:01
@realFlowControl
Copy link
Collaborator Author

Thanks @cmb69, but it is still not working :-(
What I am trying is to support pie and following this https://github.com/php/pie/blob/main/docs/extension-maintainers.md#automation-of-the-windows-publishing
I guess we could also just use the already existing windows.yml and change the filenames so that they fit the schema that pie needs...
Just hoped it would be easier migrating to what is proposed ...

@cmb69
Copy link
Collaborator

cmb69 commented Dec 13, 2024

@realFlowControl, should use php-windows-builder for release builds by all means for stability reasons (ideally all extensions should use exactly the same dependency versions etc.) For push CI this is not really a concern.

@cmb69
Copy link
Collaborator

cmb69 commented Dec 13, 2024

Not sure if the build log is supposed to be contained in the download artifact, but otherwise this looks quite good now.

@realFlowControl
Copy link
Collaborator Author

Technically CI is green, but all tests are skipped 😱

@cmb69
Copy link
Collaborator

cmb69 commented Dec 13, 2024

Oh, indeed. I guess that pthreads is not found. I'd remove the manual "Fetch dependencies" step (maybe that interferes), and see if it works.

PS: from a quick look at the implementation of php-windows-builder, it looks like it runs php run-tests.php directly (instead of nmake test), so deps\bin\ is not in the PATH.

PPS: I've filed php/php-windows-builder#9. You can verify the hypothesis by adding a test which does not rely on ext-parallel, but merely outputs the PATH, e.g.

--TEST--
Show PATH
--FILE--
<?php
var_dump(getenv("PATH"));
?>
--EXPECT--

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