diff options
author | Niels Möller <nisse@lysator.liu.se> | 2020-06-29 14:05:54 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2020-06-29 14:05:54 +0200 |
commit | c3ab245d65e25638c4b1031eda3a08c0336a5ec9 (patch) | |
tree | 9663eb5c65136ef4619d8d0792f4223a44803c0d | |
parent | db9b66e047a47d5070d99de8a6ccb6ddd79efce6 (diff) | |
download | nettle-c3ab245d65e25638c4b1031eda3a08c0336a5ec9.tar.gz |
gitlab-ci: Add cross tests for powerpc64
-rw-r--r-- | .gitlab-ci.yml | 8 | ||||
-rw-r--r-- | ChangeLog | 5 |
2 files changed, 12 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 @@ -1,3 +1,8 @@ +2020-06-29 Niels Möller <nisse@lysator.liu.se> + + * .gitlab-ci.yml: Add cross tests for powerpc64le, based on patch + by Maamoun TK. + 2020-06-25 Niels Möller <nisse@lysator.liu.se> * x86_64/chacha-core-internal.asm (QROUND): Fix use of macro |