summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2020-06-29 14:05:54 +0200
committerNiels Möller <nisse@lysator.liu.se>2020-06-29 14:05:54 +0200
commitc3ab245d65e25638c4b1031eda3a08c0336a5ec9 (patch)
tree9663eb5c65136ef4619d8d0792f4223a44803c0d /.gitlab-ci.yml
parentdb9b66e047a47d5070d99de8a6ccb6ddd79efce6 (diff)
downloadnettle-c3ab245d65e25638c4b1031eda3a08c0336a5ec9.tar.gz
gitlab-ci: Add cross tests for powerpc64
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml8
1 files changed, 7 insertions, 1 deletions
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