prebuild / prebuildify

Create and package prebuilds for native modules
MIT License
198 stars 37 forks source link

Cross compilation #35

Closed reconbot closed 4 years ago

reconbot commented 4 years ago

I'm trying to implement prebuildify for node-serialport I have a hunch it would save us 50% of our support requests. I've wanted this package for years. This is a fantastic thing for you to make ❤️

I'd like to figure out how to publish every arch (linux, mac and windows) in a single package. Do you have any tips on cross compilation?

vweevers commented 4 years ago

You don't necessarily have to cross-compile to get prebuilds in a single package; prebuildify-ci has a command to download prebuilds from multiple CI providers.

Checkout leveldown's setup and https://github.com/prebuild/prebuildify-cross

verhovsky commented 1 year ago

leveldown's setup: https://github.com/Level/leveldown/blob/master/.github/workflows/release.yml