macOS Mythfrontend autobuilds via github

For discussion of topics specific to MythTV on OSX
Post Reply
User avatar
jhoyt
Senior
Posts: 143
Joined: Thu Aug 27, 2015 10:11 am
United States of America

macOS Mythfrontend autobuilds via github

Post by jhoyt »

Apologies for the lack of new builds lately.  The upgrade to macOS Ventura presented many a VM obstacle so I had to pivot to a new method of building the application.

To solve the VM problem, I've managed to get autobuilds of Mythfrontend up and running using github actions for both fixes/32 and master (pre-33).  Currently the builds are done on the available github runners for intel architectures only (I'm working on an ARM / apple silicon solution...) for Catalina (10.15), Big Sur (11), and Monterey (12).

The github action auto uploads generated .dmg files to the usual SourceForge site https://sourceforge.net/projects/mythtvformacosx/files/. Note - look for the date stamp if multiple builds are present as I'm still struggling through the logic to archive off the old builds. The action is set to run weekly and will post updated dmg's if the fixes/32 or master git repos receive commits.

For macOS 11 and 12, these applications and dmg files are both signed and notarized with a valid apple developer id.  
I'll keep posting autobuilds for macOS versions that have supported github runners (warning Catalina is about to get retired this week...) and will update the runners list as additional macOS versions (and architectures) become available.

The code for the github action is located here: https://github.com/MythTVforMacOS/compileMythfrontend

Very happy to get any feedback and suggestions from the github actions knowledgeable users on this list on ways to improve the build and upload process.  I've just started playing around with github actions, and keep learning new tricks and features as I go.

In regards to Ventura (intel and ARM based builds), I will keep doing those manually until a github runner is stood up to support those architectures.  I don't currently have a path forward for Big Sur/Monterey based ARM builds, but am looking into alternatives to using VMs (happy to get thoughts and ideas).
User avatar
jhoyt
Senior
Posts: 143
Joined: Thu Aug 27, 2015 10:11 am
United States of America

Re: macOS Mythfrontend autobuilds via github

Post by jhoyt »

It appears that GitHub has officially retired the Catalina CI chain but activated the Ventura CI chain.

Unfortunately, this means the Catalina autobuilds are now retired. but Ventura will now update weekly like Big Sur and Monterey.

GitHub also has a beta program for ARM based builds, when that goes more public ARM builds will also be automated and uploaded more frequently.
acediac
Newcomer
Posts: 13
Joined: Sun May 23, 2021 8:51 pm
Australia

Re: macOS Mythfrontend autobuilds via github

Post by acediac »

Hi @jhoyt, I fixed a couple of bugs in the compileMythfrontendAnsible.zsh script when I was building for my mythbackend and have submitted a pull request.

I have built successfully for myth34 x86-64 on Monterey, looks ok so far but still need to do some further testing.

Let me know if you have questions.

Cheers,
Andrew
User avatar
jhoyt
Senior
Posts: 143
Joined: Thu Aug 27, 2015 10:11 am
United States of America

Re: macOS Mythfrontend autobuilds via github

Post by jhoyt »

@acediac - Thank you!

I'll take a deeper look this weekend. There's a few updates I've been meaning to make my own PR for, so this acts as good motivation.

Thanks again.
Post Reply