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 CI after GHA's drop of node16 actions #374

Merged
merged 3 commits into from
Dec 11, 2024
Merged

Conversation

mjameswh
Copy link
Contributor

@mjameswh mjameswh commented Nov 27, 2024

What changed

  • Modified our GHA workflows so that when building the release-grade native artifacts on Linux targets, only the actual Rust compilation step runs inside a GLIBC 2.24-based Docker container; all other operations are performed directly on the runner, which can now be any recent Ubuntu.

    This was required because GHA no longer allows actions based on Node16 (i.e. actions are forced to use Node20 instead), but Node20 requires at least GLIBC 2.28. It is therefore not possible to have a single execution environment that can both execute Node20-based actions, yet produces native libraries that can then execute in the GLIBC 2.24-based environments that some of our users have.

    Fixes [Bug] CI build is broken due to GHA dropping support for node16-based actions #373.

@mjameswh
Copy link
Contributor Author

mjameswh commented Dec 2, 2024

@cretz Leaving that to you. Just merge if you are ok with it.

@cretz
Copy link
Member

cretz commented Dec 11, 2024

Moving this to draft while I test it...

@cretz cretz marked this pull request as draft December 11, 2024 14:51
@cretz cretz force-pushed the fix-gha-node16-deprecation branch from c5c569e to e5d754f Compare December 11, 2024 14:56
@cretz
Copy link
Member

cretz commented Dec 11, 2024

Confirmed working after minor YAML change, thanks @mjameswh! Updating branch then merging after CI complete...

@cretz cretz changed the title [WIP] Fix CI after GHA's drop of node16 actions Fix CI after GHA's drop of node16 actions Dec 11, 2024
@cretz cretz marked this pull request as ready for review December 11, 2024 15:19
@cretz cretz force-pushed the fix-gha-node16-deprecation branch from e5d754f to 69cc609 Compare December 11, 2024 15:19
@cretz cretz merged commit aac363d into main Dec 11, 2024
8 checks passed
@cretz cretz deleted the fix-gha-node16-deprecation branch December 11, 2024 15:36
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.

[Bug] CI build is broken due to GHA dropping support for node16-based actions
3 participants