-
Notifications
You must be signed in to change notification settings - Fork 99
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
[Feature Add] Compiling RPM in GitHub CI #83
Comments
Thanks. It would be very nice to get this going. The current CI script cross compiles Debian packages for several different processor architectures. Specifically, armhf and arm64 for use on a Raspberry Pi or other embedded systems. Do you think there is value in doing RPM builds for all these architectures as well? Or is x86_64 the only one that is really necessary? As far as I know, RedHat based distros are not commonly used on embedded systems. |
Awesome, I can look into getting the workflow into a format more acceptable for merging into the main repo then. Now it's shown that it's possible to compile a RPM in a Ubuntu based workflow ^_^ I'm not familiar with using Redhat/Fedora on anything other than x86_64, but depending on the difficulty it may be worth compiling for the other architectures too. (That's going to be a bit of a learning curve for me to work out how that loop logic works) Give me a few days and I will try and have something ready to review for merge |
It seems one of the biggest issues with the workflow was getting it to actually run. Edit: |
From what i can tell the Build action is outputting into |
PR related to this feature has been submitted #84 |
thanks for your efforts! I am on Kinoite as well, and stl-thumb can be installed with cargo so that is no big deal. But the KDE integration seems to require stl-thumb to be installed on the system, and thus fails. https://github.com/unlimitedbacon/stl-thumb/actions/runs/11071515784/job/31012859387 It seems the RPM builds are currently failing? |
I was able to compile it locally, in a distrobox using this https://github.com/cat-in-136/cargo-generate-rpm The fedora rust "rust2rpm" can be installed with dnf too.
For some reason, I still get this error
I will try to reboot and do it again. It probably tries to resolve the dependencies relative to the current install? If that is not the case, there is something broken in detecting that library, as I 1. installed stl-thumb and 2. installed the kde integration. Setting up an RPM repo for these 2 rpms would be really good. https://linuxconfig.org/how-to-create-a-custom-rpm-repository-on-linux this explains how the webserver should look like. Could this be done with github pages? |
Hi
I have currently got the GitHub CI to compile the RPM package, but I'm not sure how to get this into a state ready to be able to generate Both the existing .DEB and the new .RPM
Please can you look over the workflow found here https://github.com/alextrical/stl-thumb/blob/master/.github/workflows/build-ci.yml
And let me know how you feel about this. I suppose the best fix may be to add the X86_64 RPM generation to a new Step in the Workflow
The compiled binaries can be found at https://github.com/alextrical/stl-thumb/releases/tag/release
The text was updated successfully, but these errors were encountered: