Usurper icon indicating copy to clipboard operation
Usurper copied to clipboard

Add distribution packages to github releases

Open tracker1 opened this issue 2 years ago • 4 comments

Would be a good idea to add downloadable distribution packages to the releases area on github.

Might be worthwhile to setup/configure a build environment for ci/cd for an "alpha/latest" release as well. Could use github actions, but not sure about DOS compiles or even if that's a thing being done... maybe with qemu or something.

tracker1 avatar Oct 27 '22 23:10 tracker1

This sounds interesting, but I barely scratch the surface with my knowledge of how GitHub works, so it also sounds like Greek to me!

Googling a bit I did find https://github.com/marketplace/actions/setup-lazarus-environment, but it's not clear to me exactly what it does/what its purpose is. Does it just build to confirm that the latest commit/merge didn't break the build? Or can it commit the built binaries that I'm currently doing manually in 3 VMs? Or can it create a release?

rickparrish avatar Oct 29 '22 13:10 rickparrish

@rickparrish you should be able to do what you're doing in VMs... for "DOS" you'll need to use QEMU, you can also do anything you want via containers/docker. IIRC, you can specify pipelines for macos, arm etc as well as the x86 default. If you message in FB messenger, probably the best way to get a hold of me... if you have a document describing your build process currently, should be able to help by making a PR that would do the build/release pipeline stuff.

tracker1 avatar Nov 02 '22 21:11 tracker1

https://docs.github.com/en/actions/using-github-hosted-runners/customizing-github-hosted-runners

tracker1 avatar Nov 02 '22 21:11 tracker1

@tracker1 Thanks for the suggestion, while investigating cross-compiling I came across fpcupdeluxe, which made it super simple to handle all the builds from a single windows-based github actions runner (well, after a bit of trial and error anyway)

There's a script to build a pre-release on every push/merge, and once the next release is ready I'll add another script to handle tagged releases too.

rickparrish avatar Nov 06 '22 03:11 rickparrish