Skip to content

Add Github Actions - #69

Merged
MCMi460 merged 5 commits into
MCMi460:developmentfrom
HotaruBlaze:GH-Action
Apr 29, 2023
Merged

MCMi460 merged 5 commits into
MCMi460:developmentfrom
HotaruBlaze:GH-Action

Conversation

@HotaruBlaze

@HotaruBlaze HotaruBlaze commented Apr 28, 2023 •

Copy link
Copy Markdown
Contributor

This needs #68 or the macOS build will be broken!


This PR adds auto building for NSO-RPC via GitHub Actions, I've tested all 3 builds and they seem to work correctly, however NSO-RPC's mac build still needs tested on an m1 mac, but I believe it should work without an issue due to Rosetta 2.

This does not currently set the release notes, however it does not set these and only adds the files as their build, so that is currently needed to be done manually.

This also changes how NSO-RPC is build on mac slightly. This changes the original mac.zip to mac-portable.zip, as I've added an installable version of NSO-RPC via productbuild and that's known as mac-installer.zip, More details about my reasoning below.


This is mainly useful because for #66, this PR isn't needed for it to work, however if NSO-RPC is set to autorun from the downloads folder, it will usually not work due to being in a security folder instead of a normal one.

However if moved to another folder, such as desktop it works without issues.

TLDR:

  • mac-portable autostart works if not running from the downloads folder.
  • mac-installer will install NSO-RPC in /Applications and thus autostart works correctly.

Note: the installer is just a packaged version of the portable that's simply installed into /Applications


Extra Note: I could have probably cleaned up the Github action little more, however I wanted to try and keep it simple and at most would have just removed the skip's when looking at the individual builds, however that's just visual.

@MCMi460
MCMi460 merged commit be93dc7 into MCMi460:development Apr 29, 2023
@MCMi460

MCMi460 commented Apr 29, 2023

Copy link
Copy Markdown
Owner

The time that it takes to make a release has now dwindled to an infinitesimally small period.
Thank you so so much for doing this!

@HotaruBlaze
HotaruBlaze deleted the GH-Action branch May 25, 2023 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants