summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorDaniel Stone <daniels@collabora.com>2021-08-03 21:08:01 +0100
committerDaniel Stone <daniels@collabora.com>2021-08-04 18:16:55 +0100
commit33767673bc2e87472aa6e969925ea3643dd52a27 (patch)
treeca1f25a405d1736bf3bab2dd52ad2298fb5de15a /.gitlab-ci.yml
parentb88e1d40b093df2a244bd60b29b43f307ff3af27 (diff)
ci: Add AArch64 build
Signed-off-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml39
1 files changed, 39 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d5a94e4..0d6e3f6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -83,6 +83,12 @@ stages:
variables:
BUILD_ARCH: "x86-64"
+.debian-aarch64:
+ extends:
+ - .os-debian
+ variables:
+ BUILD_ARCH: "aarch64"
+
check-commit:
extends:
@@ -108,6 +114,16 @@ x86_64-debian-container_prep:
variables:
GIT_STRATEGY: none
+aarch64-debian-container_prep:
+ extends:
+ - .debian-aarch64
+ - .fdo.container-build@debian
+ tags:
+ - aarch64
+ stage: "Base container"
+ variables:
+ GIT_STRATEGY: none
+
# Core build environment.
.build-env:
@@ -128,6 +144,24 @@ x86_64-debian-container_prep:
- job: x86_64-debian-container_prep
artifacts: false
+.build-env-debian-aarch64:
+ extends:
+ - .fdo.suffixed-image@debian
+ - .debian-aarch64
+ - .build-env
+ variables:
+ # At least with the versions we have, the LSan runtime makes fork unusably
+ # slow on AArch64, which is bad news since the test suite decides to fork
+ # for every single subtest. For now, in order to get AArch64 builds and
+ # tests into CI, just assume that we're not going to leak any more on
+ # AArch64 than we would on ARMv7 or x86-64.
+ ASAN_OPTIONS: "detect_leaks=0"
+ tags:
+ - aarch64
+ needs:
+ - job: aarch64-debian-container_prep
+ artifacts: false
+
# Full build and test.
.do-build:
@@ -150,3 +184,8 @@ x86_64-debian-build:
extends:
- .build-env-debian-x86_64
- .do-build
+
+aarch64-debian-build:
+ extends:
+ - .build-env-debian-aarch64
+ - .do-build