diff mbox series

snapcraft.yaml: add architectures info to make remote snap builds easier

Message ID 20210614172204.205120-1-colin.king@canonical.com
State Accepted
Headers show
Series snapcraft.yaml: add architectures info to make remote snap builds easier | expand

Commit Message

Colin Ian King June 14, 2021, 5:22 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

Adding architectures info makes remote snap building easier.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 snapcraft.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Alex Hung June 14, 2021, 7:43 p.m. UTC | #1
On 2021-06-14 11:22 a.m., Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> Adding architectures info makes remote snap building easier.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  snapcraft.yaml | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/snapcraft.yaml b/snapcraft.yaml
> index c331d8c1..b0f80bda 100644
> --- a/snapcraft.yaml
> +++ b/snapcraft.yaml
> @@ -6,6 +6,14 @@ confinement: strict
>  base: core18
>  grade: stable
>  
> +architectures:
> +    - build-on: s390x
> +    - build-on: ppc64el
> +    - build-on: arm64
> +    - build-on: armhf
> +    - build-on: amd64
> +    - build-on: i386
> +
>  parts:
>      fwts:
>          plugin: autotools
> 

Acked-by: Alex Hung <alex.hung@canonical.com>
ivanhu June 15, 2021, 5:37 a.m. UTC | #2
On 6/15/21 1:22 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> Adding architectures info makes remote snap building easier.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  snapcraft.yaml | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/snapcraft.yaml b/snapcraft.yaml
> index c331d8c1..b0f80bda 100644
> --- a/snapcraft.yaml
> +++ b/snapcraft.yaml
> @@ -6,6 +6,14 @@ confinement: strict
>  base: core18
>  grade: stable
>  
> +architectures:
> +    - build-on: s390x
> +    - build-on: ppc64el
> +    - build-on: arm64
> +    - build-on: armhf
> +    - build-on: amd64
> +    - build-on: i386
> +
>  parts:
>      fwts:
>          plugin: autotools
> 


Acked-by: Ivan Hu <ivan.hu@canonical.com>
diff mbox series

Patch

diff --git a/snapcraft.yaml b/snapcraft.yaml
index c331d8c1..b0f80bda 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -6,6 +6,14 @@  confinement: strict
 base: core18
 grade: stable
 
+architectures:
+    - build-on: s390x
+    - build-on: ppc64el
+    - build-on: arm64
+    - build-on: armhf
+    - build-on: amd64
+    - build-on: i386
+
 parts:
     fwts:
         plugin: autotools