Flole Systems wrote:
> Right now basically all build are broken for various reasons. I won't merge anything until someone has time to do adapt Github actions to test all PRs on all targets so such issues can be noticed before merging. I am tired of code that makes it in and then randomly breaks some targets....
Sorry, I'm no expert at GitHub. I know that when I submit a TVH PR, GitHub automatically compiles it and tells me if/where I went wrong. I see this happen when I submit a PR for Kodi as well.
When GitHub compiles a new PR for Kodi, it does so for a variety of target architectures automatically. I have run afoul of this in the past whereby a Linux change inadvertently broke something in the Windows build.
Is this what you are referring to? Having GitHub automatically build for multiple target architectures and report failures.
If so:
* What target architecture is TVH currently built for ? (Looks like just Ubuntu)
* What target architectures are missing from the automated process?
I did some reading on GetHub workflows:
In the TVH Repository, I see that there are a number of 'workflows' under the 'actions' tab. One of these workflows is 'Build Tvheadend CI' and its actions are defined in 'test-compile.yml'.
In 'test-compile.yml' there seems to be a number of instructions for building TVH for 'ubuntu-latest'.
GitHub seems to have a number of hosted runners that are available:
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#choosing-github-hosted-runners
* windows-latest or windows-2022
* windows-2019
* ubuntu-latest or ubuntu-22.04
* ubuntu-20.04
* macos-13 or macos-13-xl
* macos-latest, macos-12, macos-latest-xl or macos-12-xl
* macos-11
I suspect that this may not cover all of TVH's preferred build targets.
* Which TVH target architectures are missing from the list?
* Which of the missing target architectures would the most helpful to try first?
I volunteer to do some research into adding the most useful target architecture and we can see how that turns out. I will try to make a copy in my private repository and see if I can get it running there along side the existing 'ubuntu-latest' target. It may take a while becasue I will have to teach myself how to do it first.