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 GitHub Actions workflows failing due to using glibc 2.17 #32

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

SonicGDX
Copy link

@SonicGDX SonicGDX commented Oct 16, 2024

PR #23 (#0774bd6) added a container setup to build with glibc 2.17. Unfortunately, GitHub recently started forcing actions to run on Node 20 instead of Node 16 (https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/). Node 20 does not work with glibc 2.17 and using it results in the build failing.

This PR temporarily fixes build issues by using the environment variable mentioned on the aforementioned page. We will need a longer term solution soon however, as once download-artifact@v3 and upload-artifact@v3 are deprecated, we will be forced to use v4 which require Node 20.

Tested working: https://github.com/SonicGDX/Jamepad/actions/runs/11374736859

See #23 for the full discussion.

PR libgdx#23 (#0774bd6) added a container setup to build with glibc 2.17. Unfortunately, GitHub recently started forcing actions to run on Node 20 instead of Node 16 (https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/). Node 20 does not work with glibc 2.17 and using it results in the build failing.

This commit temporarily fixes build issues by using the environment variable mentioned on the aforementioned page. We will need a longer term solution soon however, as once download-artifact@v3 and upload-artifact@v3 are deprecated, we will be forced to use v4 versions which require Node 20.
@SonicGDX
Copy link
Author

SonicGDX commented Oct 16, 2024

The force pushes were just for adjusting the commit message (after I realised I accidentally @ mentioned someone).

@MrStahlfelge MrStahlfelge merged commit 20f49d4 into libgdx:master Oct 17, 2024
2 checks passed
@SonicGDX SonicGDX deleted the fix-forced-node-20-pr branch October 18, 2024 09:40
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