cast2gif icon indicating copy to clipboard operation
cast2gif copied to clipboard

Continuous Integration

Open blackandred opened this issue 5 years ago • 2 comments

Hi,

I think to automate building you could have setup the Github Actions in a flow:

  • Whenever a tag is pushed -> Build a version -> Archive artifacts -> (optionally) Attach artifacts to releases tab (I don't know if its possible)

I didn't use Github Actions yet, but I see it can store artifacts like Jenkins: https://docs.github.com/en/actions/configuring-and-managing-workflows/persisting-workflow-data-using-artifacts

Maybe some evening I can try to play with it and push some PR.

blackandred avatar Aug 19 '20 17:08 blackandred

If you want to try building it. I'm not 100% sure the exact dependencies are, but the one that sticks out to me that you would have to install other than Rust is freetype2 I think.

Otherwise, the build process is just cargo build after installing Rust.

zicklag avatar Aug 19 '20 17:08 zicklag

OK, so I decided just to keep Gifski for now. It looks like you just need freetype and its dependencies mostly such as expat for this to compile. Also it builds on the latest stable Rust, but could probably go a few versions older than the latest stable at least.

I tend to use Docker containers to cross-compile from Linux for Linux Musl, Windows, and Mac, but at this point it's feeling just better to use GitHub actions to actually run the builds on the actual platforms, so if you want to take a stab at that whenever it would be appreciated. :)

zicklag avatar Sep 05 '20 23:09 zicklag