Skip to content

Prepare for necessary move to macOS 13 #16469

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

Closed
wants to merge 8 commits into from
Closed

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Oct 16, 2024

GH will remove macOS 12 runner images as of December 3rd, so we prepare for that.


https://app.github.media/e/es?s=88570519&e=3837111&elqTrackId=78D8A052C380BCBFF284D754BEBE9730&elq=f4dd0fae19804631a9520380d9a17f1f&elqaid=4233&elqat=1

Note that nightlies will affected by this, too, but maybe focus on the push workflows for now.

@cmb69
Copy link
Member Author

cmb69 commented Oct 16, 2024

GH will remove macOS 12 runner images as of December 3rd, so we prepare
for that.

Besides the obvious need to change the runner, we also suppress a
couple of warnings, because otherwise the build would fail due to
`-Werror`.
@cmb69 cmb69 marked this pull request as ready for review October 16, 2024 22:45
@cmb69
Copy link
Member Author

cmb69 commented Oct 17, 2024

By the way, why are we running debug builds on macOS (and one for Linux)? Wouldn't --enable-debug-assertions be sufficient (would probably need #16366)?

@arnaud-lb
Copy link
Member

Some benefits of --enable-debug-assertions over --enable-debug would be slightly faster tests (but slower build), more compiler diagnostics, and potentially more chance of finding release-only bugs.

Ayesh and others added 7 commits October 23, 2024 18:13
Upstream libcurl 8.6.0 contains a change[^1] that caused a test failure.
This fixes it by updating the test's `EXPECTF` to use a regex to account for both string patterns.

[^1]: curl/curl@45cf4755e71f#diff-a8a54563608f8155973318f4ddb61d7328dab512b8ff2b5cc48cc76979d4204cL1683

Closes phpGH-13293.
Curl changed the behaviour, from the changelog:
  - lib: make protocol handlers store scheme name lowercase curl/curl@c294f9c

From the docs: "The returned scheme might be upper or lowercase. Do
comparisons case insensitively."

Closes phpGH-14312.
The test fails with "CURL ERROR: 56". I will create an issue for it shortly.
This causes a segfault on PHP-8.1
@iluuu1994
Copy link
Member

@cmb69 I pushed the remaining necessary changes. Does this look good to you now?

@cmb69
Copy link
Member Author

cmb69 commented Oct 23, 2024

Yeah, sure. Thank you very much @iluuu1994!

@cmb69
Copy link
Member Author

cmb69 commented Oct 25, 2024

Any objections to merge this? Maybe @ramsey has something to say about this, since it targets PHP-8.1.

@iluuu1994 iluuu1994 closed this in 25c0993 Oct 28, 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.

5 participants