ci: Add ARMv7 build
authorDaniel Stone <daniels@collabora.com>
Tue, 3 Aug 2021 20:09:50 +0000 (21:09 +0100)
committerDaniel Stone <daniels@collabora.com>
Wed, 4 Aug 2021 17:16:59 +0000 (18:16 +0100)
Signed-off-by: Daniel Stone <daniels@collabora.com>
.gitlab-ci.yml

index 0d6e3f6..73f7618 100644 (file)
@@ -89,6 +89,12 @@ stages:
   variables:
     BUILD_ARCH: "aarch64"
 
+.debian-armv7:
+  extends:
+    - .os-debian
+  variables:
+    BUILD_ARCH: "armv7"
+
 
 check-commit:
   extends:
@@ -124,6 +130,17 @@ aarch64-debian-container_prep:
   variables:
     GIT_STRATEGY: none
 
+armv7-debian-container_prep:
+  extends:
+    - .debian-armv7
+    - .fdo.container-build@debian
+  tags:
+    - aarch64
+  stage: "Base container"
+  variables:
+    GIT_STRATEGY: none
+    FDO_BASE_IMAGE: "arm32v7/debian:$FDO_DISTRIBUTION_VERSION"
+
 
 # Core build environment.
 .build-env:
@@ -162,6 +179,17 @@ aarch64-debian-container_prep:
     - job: aarch64-debian-container_prep
       artifacts: false
 
+.build-env-debian-armv7:
+  extends:
+    - .fdo.suffixed-image@debian
+    - .debian-armv7
+    - .build-env
+  tags:
+    - aarch64
+  needs:
+    - job: armv7-debian-container_prep
+      artifacts: false
+
 
 # Full build and test.
 .do-build:
@@ -189,3 +217,8 @@ aarch64-debian-build:
   extends:
     - .build-env-debian-aarch64
     - .do-build
+
+armv7-debian-build:
+  extends:
+    - .build-env-debian-armv7
+    - .do-build