[build-scripts] Fix cross-compiling snap in snapcraft-template.yaml on Linux ARM64
authorIlia Kirianovskii <Ilia.Kirianovskii@jetbrains.com>
Sun, 2 Oct 2022 18:23:02 +0000 (20:23 +0200)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Thu, 6 Oct 2022 10:47:14 +0000 (10:47 +0000)
GitOrigin-RevId: 4bdea34e771588d56806b6845fd9bb9be983fbd1

platform/build-scripts/resources/linux/snap/snapcraft-template.yaml

index e1d54276357b2744ff500903ea09188f01c8bcd8..2f67716aa212d2b9c4433a716225a891328c8a17 100644 (file)
@@ -8,7 +8,9 @@ grade: $GRADE$
 confinement: classic
 base: core18
 compression: lzo
-architectures: [amd64]
+architectures:
+  - build-on: [amd64, arm64]
+    run-on: amd64
 
 apps:
   $NAME$: