nikolaydubina / treemap

🍬 Pretty Treemaps
153 stars 2 forks source link

Continuous integration to build binaries #9

Open michaelsanford opened 2 years ago

michaelsanford commented 2 years ago

Would you accept a PR to do a CI build of native binaries in order to distribute it to those who don't have or want the go toolchain?

( Super cool tool ! )

nikolaydubina commented 2 years ago

Hey, Sure! GitHub Actions and storing them in GitHub would be great!

image

tbh, I always getting tools written in Go with go install, not sure how many users getting tools by binaries! (homebrew is good, but too much hustle to add it seems!)

michaelsanford commented 2 years ago

Cool, I'll take a stab at it! I've done this before with Appveyor, but I prefer to try with Github Actions since it's now available; you seem ok with this plan.

No ETA right now, but I'll have more time over the holiday break.

I agree that go install is perfectly idiomatic. My suggestion came up because I suggested this tool to some people in my Operations team, and they don't have any go dev environment and don't want to manage one.

mlange-42 commented 1 year ago

For reference, here is a GitHub Actions script that builds binaries for win, linux and macos and uploads them as release assets: https://github.com/mlange-42/dirstat/blob/main/.github/workflows/release.yml

Could also use a build matrix to reduce code repetitions.

nikolaydubina commented 1 year ago

these days I am inclined not distribute binaries for Go projects.

I would rather keep go install version.

Let's see if there is enough traction for non Go community, then let's def add binaries!

nikolaydubina commented 1 year ago

keeping issue open. will collect requests here!