Skip to content

build: use docker to build linux-x64 glibc #2658

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
May 11, 2024
Merged

Conversation

henry-hsieh
Copy link
Contributor

@henry-hsieh henry-hsieh commented May 11, 2024

Similar fix to #1835, but uses independent docker environment instead of GitHub Workflow container. Fixes the issue #1828.

The action/checkout@v4 uses node20 depends on newer GLIBC version, which is not available in old docker image, e.g., ubuntu-18.04. We don't want the image has newer version of glibc because we want to build binary using older version of GLIBC. Because the container will be evoked at start of the job, using action/checkout@v4 causes the errors. Therefore, moving build steps into independent docker environment is the easiest way to build with old GLIBC version, and not affecting the GitHub Workflow.

@sumneko
Copy link
Collaborator

sumneko commented May 11, 2024

Thank you!

@sumneko sumneko merged commit 6347eea into LuaLS:master May 11, 2024
10 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants