Skip to content

Conversation

@deivid-rodriguez
Copy link
Contributor

@deivid-rodriguez deivid-rodriguez commented May 9, 2025

What was the end-user or developer problem that led to this PR?

Some CI jobs on Windows broke some hours ago.

What is your fix for the problem, implemented in this PR?

New packages with ucrt64 gcc chain were uploaded to https://github.com/ruby/setup-msys2-gcc/releases/tag/msys2-gcc-pkgs very recently and they seem to have broken extension compilation when Ruby 3.2 and Ruby 3.3 are run on Windows.

Apparently recent GCC issues have led to a rewrite of the ruby/setup-ruby action on Windows, and the rewrite does not have any issues and it's also dramatically faster.

EDIT: The same issues showed up in the fork in the last few days, however, it's easier to go back to working GCC packages in the fork, so I'm still using it. And it's still much faster.

So switch to that for now to get our CI back to green.

Make sure the following tasks are checked

@deivid-rodriguez deivid-rodriguez force-pushed the deivid-rodriguez/try-workaround-ci branch 7 times, most recently from 20a9dc4 to ed9bf30 Compare May 9, 2025 17:56
@deivid-rodriguez deivid-rodriguez changed the title Try workaround CI Use a working setup-ruby action on Windows to get CI green May 9, 2025
@deivid-rodriguez deivid-rodriguez marked this pull request as ready for review May 9, 2025 18:13
@deivid-rodriguez
Copy link
Contributor Author

Merging to get CI back on track for now.

@deivid-rodriguez deivid-rodriguez enabled auto-merge May 9, 2025 18:14
@deivid-rodriguez deivid-rodriguez force-pushed the deivid-rodriguez/try-workaround-ci branch 2 times, most recently from d962949 to 0f4c8fd Compare May 12, 2025 15:53
New packages for ucrt64 gcc chain were uploaded to
https://github.com/ruby/setup-msys2-gcc/releases/tag/msys2-gcc-pkgs
recently and they seem to have broken extension compilation on Windows.

There's a new rewrite of the action (unsure if related of unrelated to
this issue) that makes it easier to pin to older version of the gcc
chain. So this uses a fork of that rewrite that pins to gcc chain to the
last working version.

So switch to that for now to get our CI back to green.
@deivid-rodriguez deivid-rodriguez force-pushed the deivid-rodriguez/try-workaround-ci branch from 0a08c41 to b92935d Compare May 12, 2025 17:33
@ntkme ntkme mentioned this pull request May 12, 2025
@deivid-rodriguez deivid-rodriguez merged commit e8e606b into master May 12, 2025
101 of 102 checks passed
@deivid-rodriguez deivid-rodriguez deleted the deivid-rodriguez/try-workaround-ci branch May 12, 2025 20:47
deivid-rodriguez added a commit that referenced this pull request May 13, 2025
…d-ci

Use a working setup-ruby action on Windows to get CI green

(cherry picked from commit e8e606b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants