More architectures enabled in build.snapcraft.io

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
4 Likes

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

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.

1 Like

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

1 Like