Skip to content

Commit

Permalink
Correct architecture builds
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Alan Pope authored May 1, 2020
1 parent 89920bc commit f250fc1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -35,4 +38,4 @@ apps:
command: AdGuardHome -w ${SNAP_DATA} --no-check-update
plugs: [ network-bind ]
daemon: simple
restart-condition: always
restart-condition: always

0 comments on commit f250fc1

Please sign in to comment.