From f250fc16a2869ad96475c939ec54f062144a0516 Mon Sep 17 00:00:00 2001 From: Alan Pope Date: Fri, 1 May 2020 20:55:34 +0100 Subject: [PATCH] Correct architecture builds The current syntax means it will build on one of the architectures to run on all. That would be useful if it was an arch-independent snap, such as a shell script. But this contains arch-specific binaries. Using the syntax here, will get four separate builds (one per arch) which is the desired outcome. --- snapcraft.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/snapcraft.yaml b/snapcraft.yaml index cda2f165..c5cda82b 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -18,7 +18,10 @@ grade: stable confinement: strict architectures: - - build-on: [ amd64, i386, arm64, armhf ] + - build-on: amd64 + - build-on: armhf + - build-on: i386 + - build-on: arm64 parts: adguard-home: @@ -35,4 +38,4 @@ apps: command: AdGuardHome -w ${SNAP_DATA} --no-check-update plugs: [ network-bind ] daemon: simple - restart-condition: always \ No newline at end of file + restart-condition: always