ci: implement Launchpad remote builds for armhf architecture#32
Conversation
| # ext:updatesnap | ||
| # version-format: | ||
| # lower-than: '3' | ||
| # no-9x-revisions: true |
There was a problem hiding this comment.
Do not remove these comments from the parts, they are used by the automatic updating workflow.
| autotools-configure-parameters: | ||
| - --prefix=/ | ||
| - --exec-prefix=/ | ||
| # Prevent the libraries from being put into lib64 |
There was a problem hiding this comment.
Why are you removing all the comments which I have introduced originally?
| # ext:updatesnap | ||
| # version-format: | ||
| # lower-than: '12' | ||
| # no-9x-revisions: true |
There was a problem hiding this comment.
Do not remove! Needed for auto-updating!
|
Please do not whole-sale remove all the comment lines in the files, esp. |
|
I am sorry,I accidently did that. |
…comments and ext:updatesnap blocks that were accidentally overwritten in a previous commit
| usr/lib/cups/backend: lib/cups/backend | ||
| usr/sbin: sbin | ||
| after: [cups, cups-filters] | ||
| after: [cups, cups-filters] No newline at end of file |
There was a problem hiding this comment.
This change has no effect and is only clutter on the diff. Can you remove it?
(Keep newline after the last line in snapcraft.yaml)
There was a problem hiding this comment.
I think its fine now.
| with: | ||
| name: cups-snap-armhf | ||
| path: ./*.snap | ||
| if-no-files-found: error No newline at end of file |
There was a problem hiding this comment.
Please keep the newline at the end of each file.
Description
This PR expands our CI coverage by successfully introducing
armhfbuilds alongside our existing native pipelines.Because
armhfrequires specialized handling, this update leverages Launchpad's remote-build capabilities while keeping the blazing-fast native GitHub Action runners intact foramd64andarm64. This brings us a massive step closer to a fully complete, multi-architecture CI setup.Key Changes & Implementations
build.yml): * Maintained the existing native matrix job foramd64andarm64(including local smoke testing).build-remotejob exclusively forarmhfutilizingsnapcraft remote-build --launchpad-accept-public-upload.snapcraft.yaml): * Updated thearchitecturesblock with explicitbuild-onandbuild-forparameters. This satisfies Launchpad's strict multi-arch requirements while remaining fully compatible with local runner behavior.CFLAGS: "-std=gnu99 -Wno-error=declaration-after-statement"andCXXFLAGSto theghostscriptpart. This resolves the ISO C90 mixed-declaration compilation errors encountered onarmhf, while remaining perfectly safe and compatible with native GCC builds.scriptspart to use"${CRAFT_ARCH_TRIPLET_BUILD_FOR}-gcc"instead of a hardcodedgcccall. This gracefully handles cross-compilation environments and ensures the correct compiler is invoked depending on the target architecture.