RhenaudTheLukark / CreateYourFrisk

Rhenaud The Lukark's Unitale fork
GNU General Public License v3.0
132 stars 56 forks source link

Feature: Add Github Actions #115

Closed UndertaleFan54 closed 1 year ago

UndertaleFan54 commented 1 year ago

Hello! I'm a big fan of CYF, and I noticed the more updated branch on the repo had no publicly available builds!

My heart goes out to the poor soul in #111 who couldn't access a proper download link due to discord's domain blockage, so I did the only sane thing one could do in this situation

I decided to spend my entire evening working on some automatic build scripts using github actions!

These workflows use GameCI and a custom build script modified from their BuildScript.cs file. In order for you to use them, you'll need to get the licensing figured out, which is detailed in their documentation. They currently build for Windows, Linux, and MacOS (64-bit only but if you're on 32-bit in 2023 my heart goes out to you).

Strangely, one of the audio files were not importing correctly so I quickly used ffmpeg and converted it to a wav instead of an ogg, seemed to fix it.

I tried to mimic Build.py as closely as possible, as I saw that was already there.

Thank You!

UndertaleFan54 commented 1 year ago

Bear in mind this is my first time writing Actions (I haven't touched github in like half a decade) so I'm sure there are ways to optimize this.

RhenaudTheLukark commented 1 year ago

Wow, okay, thanks a lot for the submission, I planned to set up an action eventually but I wasn't sure when to do it.

The only thing is I am a little worried since while it could be nice to have CYF ready directly from the feature branch, these versions can sometimes have eggregiously bad entries, which can lead to the engine being hard if not impossible to use. So, while this tool is up, I will still recommend people to use non-beta entries whenever possible, for stability's sake. (which will remain in the releases tab)

RhenaudTheLukark commented 1 year ago

However, thanks for the help, I'm sure users will be able to be more in touch with CYF's overall development with this!