Skip to content

Fix GH-16367: macOS CI fails to configure ext/intl on master #16375

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 1 commit into from

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Oct 11, 2024

Well, an attempt.

@cmb69 cmb69 marked this pull request as ready for review October 11, 2024 18:12
@cmb69 cmb69 requested a review from TimWolla as a code owner October 11, 2024 18:12
@cmb69 cmb69 linked an issue Oct 11, 2024 that may be closed by this pull request
@cmb69
Copy link
Member Author

cmb69 commented Oct 11, 2024

Seems to work. Might need to target a lower branch, although I have not yet seen issues except on master; don't understand why, though. Maybe @iluuu1994 knows.

@iluuu1994
Copy link
Member

iluuu1994 commented Oct 11, 2024

It also fails on push on 8.4, so it should target 8.4 I believe. It's not failing on 8.4 in nightly because the config is wrong.

'os' => $branch['name'] === 'master' ? '13' : '12',

It seems we accidentally downgraded to macOS 12 for 8.4 when branching. That should be fixed also.

Copy link
Member

@iluuu1994 iluuu1994 left a comment

Choose a reason for hiding this comment

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

The change LGTM, thank!

@cmb69
Copy link
Member Author

cmb69 commented Oct 11, 2024

 .github/nightly_matrix.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/nightly_matrix.php b/.github/nightly_matrix.php
index 9ff3567f18..7c2797f249 100644
--- a/.github/nightly_matrix.php
+++ b/.github/nightly_matrix.php
@@ -102,7 +102,7 @@ function get_macos_matrix_include(array $branches) {
                     'branch' => $branch,
                     'debug' => $debug,
                     'zts' => $zts,
-                    'os' => $branch['name'] === 'master' ? '13' : '12',
+                    'os' => in_array($branch['name'], ['master', 'PHP-8.4'], true) ? '13' : '12',
                     'arch' => 'X64',
                     'test_jit' => true,
                 ];

Is that okay, or do you prefer major/minor checks?

@iluuu1994
Copy link
Member

Since we're in php we could use version_compare, but I'm happy with either.

@cmb69 cmb69 closed this in 3756182 Oct 11, 2024
cmb69 added a commit that referenced this pull request Oct 11, 2024
@cmb69 cmb69 deleted the cmb/gh16367 branch October 11, 2024 21:14
@cmb69
Copy link
Member Author

cmb69 commented Oct 11, 2024

I went with the patch above; nightlies need more work anyway.

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.

MACOS_X64_DEBUG_NTS CI fails to configure ext/intl on master
3 participants