ZcashFoundation / zebra

Zcash - Financial Privacy in Rust 🦓
https://zfnd.org/zebra/
Apache License 2.0
412 stars 106 forks source link

Add pre-compiled binaries to releases for major platforms #8552

Open arya2 opened 6 months ago

arya2 commented 6 months ago

Motivation

Adding compiled binaries for Windows, macOS, and Debian would make it easier for users to download and run Zebrad without Docker, and would be a step towards automating the Zebra Launcher build process.

arya2 commented 5 months ago

I'll try using Cargo's artifact dependencies on nightly for zebra launcher first, it'll be easier to compile versions with various feature combinations that way than compiling all of those binaries during Zebra releases if Cargo stabilizes that feature soon enough.

Update:

This approach went poorly, it didn't work well on Windows and the zebrad binary size nearly doubled on all major platforms (I checked the release build profile, and tried compiling the zebrad on nightly, neither explained the difference).

It seems easier to add pre-compiled binaries to Zebra releases.