openFrameworks icon indicating copy to clipboard operation
openFrameworks copied to clipboard

Moving nightly builds and releases to Github Releases

Open ofTheo opened this issue 2 years ago • 3 comments

Just want to start an issue that can track some of the resources for doing this.

Here is a workflow for publishing and updating a release ( updating will be needed for nightly builds ): https://github.com/marketplace/actions/github-release-create-update-and-upload-assets

And a workflow for doing nightly builds: https://github.com/marketplace/actions/deploy-nightly

We have 0.11.2 as a manual release here: https://github.com/openframeworks/openFrameworks/releases/tag/0.11.2

But the idea will be to be able to auto generate a release and nightly builds as part of the existing GH Actions automation.

ofTheo avatar Mar 11 '22 00:03 ofTheo

So what is needed in order to achieve this? Or do you need someone to look at how it is done?

roymacdonald avatar Mar 15 '22 21:03 roymacdonald

@roymacdonald I think I know what needs to be done. The above two links were the missing steps which we'll need to integrate into the CI scripts and Github workflows.

It will take a bit of work as we'll need to do the same for apothecary ( have the compiled libs tagged as releases and have a nightly build for the libs ).

ofTheo avatar Mar 16 '22 16:03 ofTheo

@ofTheo I will take a look at it throughout the next days and see what I can do. I have no experience at all with GH Actions, so this might be a good thing to get to understand how it works. :)

roymacdonald avatar Mar 17 '22 04:03 roymacdonald

Nice! We can start by making a script of building all apothecary and packaging in a file. do you think Actions Artifacts is what we need? https://docs.github.com/en/enterprise-cloud@latest/rest/actions/artifacts#about-the-artifacts-api

dimitre avatar Oct 02 '22 03:10 dimitre

Actually I got that working already @dimitre. But only for Apothecary. ( see https://github.com/openframeworks/apothecary/releases ).

Next step would be to do it for the main repo. It actually shouldn't be too hard - might take a couple of days to implement.

edit: ignore the draft releases, but the bottom one has the latest nightly builds ( from 3 days ago ).

ofTheo avatar Oct 02 '22 17:10 ofTheo

FANTASTIC @ofTheo ! Great news! what about we point the install scripts directly to the github packages? This way we can have the latest GLFW and everything for installs, Github actions will be faster since both are hosted on the same place

dimitre avatar Oct 02 '22 20:10 dimitre

Looking forward a new release! we need a 0.11.3 soon :)

dimitre avatar Mar 17 '23 04:03 dimitre

Completed, thanks @ofTheo

dimitre avatar Jan 03 '24 06:01 dimitre