CI: Add ARMv7 support

ARMv7 is still an important architecture for us to run on, and running
on ARMv7 also gives us 32-bit build coverage. As distros are deprecating
their non-64-bit-x86 support, this may be our only realistic chance of
ensuring that our build is also 32-bit-clean.

Signed-off-by: Daniel Stone <daniels@collabora.com>
dev
Daniel Stone 3 years ago
parent 3530c522f8
commit c26fa7e462
  1. 35
      .gitlab-ci.yml

@ -104,6 +104,12 @@ check-commit:
KERNEL_IMAGE: "bzImage" KERNEL_IMAGE: "bzImage"
KERNEL_DEFCONFIG: "x86_64_defconfig" KERNEL_DEFCONFIG: "x86_64_defconfig"
.debian-armv7:
extends:
- .os-debian
variables:
BUILD_ARCH: "armv7"
.debian-aarch64: .debian-aarch64:
extends: extends:
- .os-debian - .os-debian
@ -124,6 +130,18 @@ x86_64-debian-container_prep:
timeout: 30m timeout: 30m
stage: container_prep stage: container_prep
armv7-debian-container_prep:
extends:
- .ci-rules
- .debian-armv7
- .fdo.container-build@debian
tags:
- aarch64
variables:
FDO_BASE_IMAGE: "arm32v7/debian:$FDO_DISTRIBUTION_VERSION"
timeout: 30m
stage: container_prep
aarch64-debian-container_prep: aarch64-debian-container_prep:
extends: extends:
- .ci-rules - .ci-rules
@ -205,6 +223,17 @@ aarch64-debian-container_prep:
- job: x86_64-debian-container_prep - job: x86_64-debian-container_prep
artifacts: false artifacts: false
.build-env-debian-armv7:
tags:
- aarch64
extends:
- .debian-armv7
- .fdo.suffixed-image@debian
- .build-env
needs:
- job: armv7-debian-container_prep
artifacts: false
.build-env-debian-aarch64: .build-env-debian-aarch64:
tags: tags:
- aarch64 - aarch64
@ -290,6 +319,12 @@ x86_64-debian-no-gl-build:
- .test-env-debian-x86_64 - .test-env-debian-x86_64
- .build-options-no-gl - .build-options-no-gl
armv7-debian-no-gl-build:
extends:
- .build-env-debian-armv7
- .build-no-test
- .build-options-no-gl
aarch64-debian-no-gl-build: aarch64-debian-no-gl-build:
extends: extends:
- .test-env-debian-aarch64 - .test-env-debian-aarch64

Loading…
Cancel
Save