Closed
Description
It makes sense to compile cargo-marker
on CI for different platforms and upload the compiled binaries to Github Releases. This will allow people to download them instead of compiling from source, and it will speed up CI that use cargo-marker
for linting.
There are various approaches to building and shipping pre-compiled binaries. The simplest one would be to use the github action that does everything for you. Another is to do more manual work but gain more flexibility.
See examples of binary releases:
- cargo-deny (manual approach)
- taplo-cli (even more manual approach)
- typos (another manual approach)
It is best to cover as many architectures and OSes as possible. Beware that cross-compiling to ARM is a PITA if you have native (C/C++) dependencies. However, starting with x84-64 arch only is already something.