-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Framework: Add Configurable Build Architectures and Input Flags #6247
Framework: Add Configurable Build Architectures and Input Flags #6247
Conversation
Wow i love that! Not sure how the code works out but that's great. Could you fake a test build and confirm it does work as expected and include dsm 7.2 only when needed? |
great 🔝 |
some suggestions
|
hey @hgy59, these were excellent additions to make the approach more extensible. I've switched to something that dynamically generates the matrix with the last commit which should allow us to do everything you suggested.
hey @th0ma7, I did push this commit to my fork of the repo and the new build interface looks like this: With the above settings the build ran successfully like this: |
@hgy59, I've further refined the input so you have drop-down menus so as to avoid input errors: Do let me know if I have your apptoval to merge this. |
will definiteively do, probably as a standalone PR to avoid needing github-action to do all the rebuilds once more. @mreid-tt does that only affect build run for publishing? Or is that option somehow available on a per PR basis (guessing by playing into the resulting build tab or similar?). @mreid-tt I suggest you make it explicit that DSM-6.2 really is only DSM-6.2.4 as sourceforge toolchains got wiped out a few months ago forcing to move to this specific sub-version. @hgy59 relatively to DSM-5.2, isn't it only ARMv5 which is being considered? Further, are the toolchain file ready to download from an alternate source? EDIT: And I'm glad we've now found a new github-action guru ;) |
The ppc853x-5.2, 88f6281-5.2 and x86-5.2 cover all x10 models;
Edit: |
@th0ma7, it appears that the extended input options are only available for manual builds. Currently, GitHub Actions automatically trigger a build whenever a PR commit is pushed, which includes DSM 6.2.4 and DSM 7.1. However, while the PR is open, you can manually trigger a build action if needed. For instance, when a new Jellyfin version is submitted as a PR in the future, it will activate the default workflow (which will not build packages). This action can be manually canceled to conserve resources, and you can then trigger a manual build on the main branch (rather than your fork) to generate DSM 7.2 packages for testing before merging.
Good catch, this has been corrected. (and reverted)
I wouldn't say guru... this was me, the source code and a conversation with ChatGPT. |
@mreid-tt I would prefer to name the dsm 6 version |
This reverts commit c5bf953.
Ok, will do... (done) |
regular workflows on master and PRs will always use the default options. If we want to customize this for PRs, we might use specific labels to evaluate the options. |
Otherwise looks good to me. I'm actually planning to give it a shot to publish from my just merged pr :) |
we might reverse the order of the options to have the least important versions at the bottom ... ? |
Done. Anything else before I merge? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Enjoy! Let me know how it goes... |
Builds started, lets wait & see. |
Hi, I noticed that your fork of https://github.com/th0ma7/spksrc doesn't seem to be in sync with the main branch. Are you sure you're building with the intent to publish? I see some builds running on the main branch, but I was under the impression that this wouldn't work since your API key isn't available there. Could you clarify? |
Self slapping... Getting late and tired. |
it's now really late but found cycles to sync my repository and resume jobs from my fork. wait & see in the morning. |
Oops, I've already started jobs on my fork to publish your packages. Sorry, I should have mentioned something earlier. |
@mreid-tt it looks like the creation of the build-matrix does not work in regular build actions. |
and on #6250 where I made the it seems that the variables for the options are not available at all:
|
Thanks for the heads-up. I think we can patch the existing Is that okay or do you need to fix this sooner than that? EDIT: Proposed changes input directly in your PR #6250 |
Description
This PR introduces several updates to the build workflow, including:
These changes optimise the build process, allowing more control over which architectures are built and improving workflow performance by excluding unused architectures.
Related to #6101
Checklist
all-supported
completed successfullyType of change