jakobnissen / alen

Simple terminal alignment viewer
MIT License
78 stars 5 forks source link

Implement CI with GitHub Actions #2

Closed jhwgh1968 closed 3 years ago

jhwgh1968 commented 3 years ago

Steps


I'm a big believer that every open source project destined for success must make contributions (and maintenance) easy. A solid CI is a cornerstone of that.

If you can spare a week or two, I'd offer to do this for you.

jakobnissen commented 3 years ago

That looks amazing! I'd been wantng to do something like this, but this being my first Rust package, I'm not sure how to. If you would make some PRs implementing this, I'd gladly accept it.

jhwgh1968 commented 3 years ago

As I work on a Draft Release job, a question: what matrix of binary releases do you want?

I am currently working on x86_64 Linux. What about Windows, and what about other platforms (e.g. ARM)? I have no idea what hardware Bioinformatics is done on these days, but it sounds very expensive. :smile:

jakobnissen commented 3 years ago

Bioinformaticians nearly exclusively use x86_64 Linux and MacOS. I guess having a Windows release would be nice as well, just in case. Is it possible to compile native binaries for the new ARM-based Macs? I think that's the only situtation people wouldn't use x86_64 Windows/Linux/MacOS

jhwgh1968 commented 3 years ago

Is it possible to compile native binaries for the new ARM-based Macs?

Unfortunately GitHub Actions does not have runners for those yet. Once they do, hopefully it will be easy to copy-paste the MacOS job I'll write.

(Also, if you wonder where my comment came from, someone on Reddit was going to install it on a supercomputer that they could only get a terminal to, hence they love your program.)

jakobnissen commented 3 years ago

Okay. Native binaries for ARM-based macs can wait, I hear the x86 emulation software works very well. And I'm also pretty sure the terminal's rendering is the bottleneck for Alen, for all practical purposes.

Thanks for doing this, again. I can also use your PRs as a template for any future command-line tool I build in Rust ❤️

jakobnissen commented 3 years ago

@jhwgh1968 Just tell me if I need to do anything, and/or when I can give it a try and make a new release, such that the binaries are created.

jhwgh1968 commented 3 years ago

I just updated the issue, things should be ready to go!

jakobnissen commented 3 years ago

Perfect, and thanks again for the PRs!