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

Publish prebuilds for Linux (x64 and arm64) #34

Open
NoahAndrews opened this issue May 1, 2023 · 0 comments
Open

Publish prebuilds for Linux (x64 and arm64) #34

NoahAndrews opened this issue May 1, 2023 · 0 comments

Comments

@NoahAndrews
Copy link
Member

While the next version of this library should build fine on Linux, there won't be any Linux prebuilds included in the package, so the RHSPlib build will occur every time that the package is installed.

The way I envision this working is that there will be a GitHub Actions workflow that runs whenever a tag is published, which runs prebuildify --napi on a matrix of all supported platforms. All of the resulting prebuilds/<os>-<arch> folders will get combined into an artifact, and the prepublishOnly npm script will replace prebuildify --napi with a gh run download command to download the GitHub Actions artifact (https://cli.github.com/manual/gh_run_download) and extract it to the prebuilds folder.

NoahAndrews added a commit that referenced this issue May 2, 2023
Originally I meant to make it copy to the prebuilds folder,
but we aren't prebuilding for Linux at this time (see #34).
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

No branches or pull requests

1 participant