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:
parent
89920bc518
commit
f250fc16a2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user