Skip to content

Commit 1ea6e7e

Browse files
committed
fix(snap): Fix snap being built on unsupported architectures
Signed-off-by: 林博仁(Buo-ren Lin) <buo.ren.lin@gmail.com>
1 parent 3a50894 commit 1ea6e7e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

snap/snapcraft.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,14 @@ confinement: strict
8080
# snaps can be promoted to `candidate` and `stable` channels
8181
grade: stable
8282

83+
# Supported architectures
84+
# https://documentation.ubuntu.com/snapcraft/stable/reference/project-file/snapcraft-yaml/#architectures
85+
platforms:
86+
amd64:
87+
arm64:
88+
armhf:
89+
riscv64:
90+
8391
# Run `snapcraft help sources` for supported keywords on pulling a part's
8492
# source ingredients
8593
# Run `snapcraft plugins` for supported build helper plugins

0 commit comments

Comments
 (0)