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

feature: add musl pre-built builds for utp-native #51

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

SilentBot1
Copy link

@SilentBot1 SilentBot1 commented Jun 16, 2024

What is the purpose of this pull request? (put an "X" next to item)

  • Documentation update
  • Bug fix
  • New feature
  • Other, please explain:

What changes did you make? (Give an overview)

This PR updates the GitHub actions to get it back to a running state and introduces musl pre-built builds of utp-native to allow utp-native to function on alpine-based docker images or systems which use musl over glibc.

The changes include:

  • changing runners from ubuntu-16.04 (discontinued) to ubuntu-latest
  • updates node version from 14.x to 16.x (14 no longer seems to be published for MacOS)
  • adds musl-tools and musl for Ubuntu to allow musl pre-builds to be generated
  • adds node-gyp to the devDependencies, as this is required by node-gyp-build, and the version installed in the GitHub npm cache for the ubuntu-latest runner does not work with the version of python installed in the runner.

Which issue (if any) does this pull request address?

This ensures that we use an early version of glibc is used to provide the widest compatibility.
Update ubuntu 18.04 to 20.04 as the runner for 18.04 was removed earlier this year, causing the run to hang.
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.

SIGSEGV on Alpine 3.18.2 with [email protected]
1 participant