node-murmurhash-native icon indicating copy to clipboard operation
node-murmurhash-native copied to clipboard

Missing binaries for Node 16, module version 93

Open chrisl8 opened this issue 2 years ago • 6 comments

Node 16 has gone into LTS, but there are no binaries for it in the release, so using this package with Node 16 requires building locally.

chrisl8 avatar Nov 11 '21 18:11 chrisl8

Yep. The problem is that node-pre-gyp-github is no longer working and I need to move to github Actions from Travis CI. Any help would be useful e.g. with examples on publishing binaries on github via github actions.

royaltm avatar Nov 15 '21 15:11 royaltm

I will add this to my To Do list to dig into it. I know absolutely nothing about Github Actions personally, but I need to learn about it and I have people I can ask for help.

chrisl8 avatar Nov 22 '21 22:11 chrisl8

This weekend I moved a project of mine from using Travis CI to Github Actions for build testing, so now I can say that I have:

  1. Used Github Actions.
  2. Translated a project from Travis CI to Github Actions.

I will try to take a look at the Travis CI setup of this project sometime and try my hand at building a working Github Actions replacement . . . sometime.

chrisl8 avatar Jan 31 '22 20:01 chrisl8

The goal is to make github action script that will not only build native modules but also publish them (make them downloadable from) as github releases and allow users to get them when they npm install the module.

royaltm avatar Feb 01 '22 19:02 royaltm

If you install the lib inside a dockerfile, check that python is installed before npm ci

RUN apk add --no-cache python3 make g++ && rm -rf /var/cache/apk/*
RUN npm ci

And if you meet this error while a gitlab-runner execution on a kubernetes cluster, I think you can refer to this : https://gitlab.com/gitlab-org/gitlab/-/issues/345402#note_1053968530

stouch avatar Aug 08 '22 11:08 stouch