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.
This commit is contained in:
Alan Pope 2020-05-01 20:55:34 +01:00 committed by GitHub
parent 89920bc518
commit f250fc16a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
restart-condition: always