snapcrafters / ci

Repository for shared CI tools and actions
https://github.com/snapcrafters/.github/wiki
MIT License
3 stars 7 forks source link

feat: Add support for building + releasing core24 based snaps #38

Closed NucciTheBoss closed 6 months ago

NucciTheBoss commented 6 months ago

core24 now uses the platforms keyword for specifying the build architecture for snaps rather than the architectures keyword. This pull request updates the get-architectures and release-to-candidate actions to support using the platforms top-level key to determine which arches to build the snap for.

Also, the remote-build command, when building core24 snaps, will use the --platforms flag rather than the --build-for flag.

NucciTheBoss commented 6 months ago

@jnsgruk I'm going to use it with the Slurm snap: https://github.com/charmed-hpc/slurm-snap/pull/2

Upgraded to core24 since it means that I can drop the AMD GPU drivers that I am pulling from a PPA and can instead use the packages available in archive.