From c3ab245d65e25638c4b1031eda3a08c0336a5ec9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Mon, 29 Jun 2020 14:05:54 +0200 Subject: gitlab-ci: Add cross tests for powerpc64 --- .gitlab-ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9f3b5c63..f0923eb6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -137,8 +137,12 @@ Debian.cross.x86: .Debian.cross.template: &Debian_cross_template image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$DEBIAN_CROSS_BUILD before_script: + - host="${CI_JOB_NAME#*.cross.}" + - dpkg --add-architecture ppc64el + - apt-get update -q # remove any previously installed nettle headers to avoid conflicts - - for arch in armhf mips arm64;do apt-get remove -y nettle-dev:$arch;done + - for arch in armhf mips arm64 ppc64el;do apt-get remove -y nettle-dev:$arch;done + - if [ "$host" == "powerpc64le-linux-gnu" ];then apt-get update && apt-get install -y gcc-$host g++-$host && export QEMU_LD_PREFIX=/usr/$host;fi script: - build=$(dpkg-architecture -qDEB_HOST_GNU_TYPE) - host="${CI_JOB_NAME#*.cross.}" @@ -162,3 +166,5 @@ Debian.cross.mips-linux-gnu: <<: *Debian_cross_template Debian.cross.aarch64-linux-gnu: <<: *Debian_cross_template +Debian.cross.powerpc64le-linux-gnu: + <<: *Debian_cross_template -- cgit v1.2.1