Closed OpenBagTwo closed 1 year ago
Got builds going for Windows, macOS and Linux, but at some point it looks like I broke versioneer.
Fixed version-freezing. Yay!
I'm going to de-scope Linux arm64 builds for now (pending https://github.com/actions/runner-images/issues/5631) and instead change the action item to providing instructions for manual building on arm64 devices.
Regarding automatic testing on all platforms: the explicit risk to call out isn't that the unit tests fail (though that's a concern) but that the launcher won't work.
Double-click-to-execute is not something I can automatically test with GitHub's CI runners, but I can test calling the executables from the command line and running against either a test folder or against the oggs already in the mod source (that won't test that the decoders are working, but that's also the least likely thing to break) and explicitly verify:
./FoxNapRPG --version
reports the correct version (and not "0+unknown")./FoxNapRPG
with no flags grabs the file from the cwd and generates a zip in the cwdOh, also noting that the macOS build appears to be either a universal binary or at least runs well through Rosetta 2--had no issues running on either an M1 Macbook Air or a 2012 (Intel) Macbook Pro
Well that's been a journey, but I've actually got everything working how I want it for now.
Before merging, I just want to call out some:
Upon merge, this PR will resolve #1 by adding a simple-to-use resourcepack generator to this repo.
Done So Far
ffmpeg
as having decodable audio) toogg
. The script also generatse language files from parsed metadata and creates unique textures for "record items" for each track.To Do
foxnap.yaml
config or otherwise indicate the number of tracks to set in the config.Raspberry Pi arm64 (this is a nice-to-have)./FoxNapRPG --version
prints a valid version (and not "0+unknown")./FoxNapPRG
with no other flags scans the current working directory and generates a resource pack in the current working directory (these should be downloadable artifacts to allow for manual inspection and testing with the mod)