More architectures enabled in build.snapcraft.io


#1

build.snapcraft.io now supports building for all Ubuntu architectures (amd64, arm64, armhf, i386, ppc64el, and s390x). ppc64el and s390x are new to this service, while arm64 was previously inconsistently enabled.

If you know your snap won’t build or work for some architectures, then you can now stop those builds from being dispatched by using the architectures keyword in snapcraft.yaml. For example, if you know your snap will only build or work on x86 systems, you might use:

architectures:
  - build-on: amd64
  - build-on: i386

How can I publish a snap that can provide binaries for all the supported architectures?
Architectures
#2

The additional architectures isn’t available in this particular snap: https://build.snapcraft.io/user/Lin-Buo-Ren/hello-snap , how to fix it?


#3

Oops, sorry about that - I forgot that we were going to need an additional code change to make sure the additional architectures were enabled for newly-registered snaps. I’ve reconfigured your snap and the others that were registered since the previous change, and opened a PR to fix this properly.


Feature request(reinst + postinst functionality; user account addition)
#4

This is sorted out properly now, including for newly-registered snaps.