WiseLibs / better-sqlite3

The fastest and simplest library for SQLite3 in Node.js.
MIT License
5.23k stars 390 forks source link

Build `arm` based macOS builds natively #1135

Closed m4heshd closed 5 months ago

m4heshd commented 5 months ago

Now that GitHub officially has an M1 macOS runner available, it's much better to build arm builds natively on the macos-14 runner. Results in way faster and much more stable builds. Completes in about 4 minutes compared to the previous 10 minutes. All of the prebuilds currently supported by BS3 were tested on this runner at better-sqlite3-multiple-ciphers.

It might also be possible to build emulated builds (arm64 on Linux) on this runner much faster, together with Docker buildx. I'll look into that also, as soon as I have some time.