diff options
author | Niels Möller <nisse@lysator.liu.se> | 2021-03-24 19:40:03 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2021-03-24 19:40:03 +0100 |
commit | c25774e230985a625fa5112f3f19e03302e49e7f (patch) | |
tree | 5f26a0e076540d22c5bc3e99d388e00326ee76ae | |
parent | d5972ced439c414982bbbf821239b65097b04699 (diff) | |
download | nettle-c25774e230985a625fa5112f3f19e03302e49e7f.tar.gz |
gitlab-ci: Add remote tests for s390x.
-rw-r--r-- | .gitlab-ci.yml | 31 | ||||
-rw-r--r-- | ChangeLog | 4 |
2 files changed, 35 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a136b4a1..88fcbb26 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,6 +4,7 @@ variables: FEDORA_BUILD: buildenv-fedora31 DEBIAN_X86_CROSS_BUILD: buildenv-debian-x86-cross GET_SOURCES_ATTEMPTS: "3" + S390X_HOST: nettle-ci@148.100.78.99 # remove any pre-installed headers from nettle before_script: @@ -173,3 +174,33 @@ Debian.cross.powerpc64-linux-gnu: <<: *Debian_cross_template Debian.cross.powerpc64le-linux-gnu: <<: *Debian_cross_template + +remote/s390x: + image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD + before_script: + # File created as world-readable by gitlab ci machinery. + - chmod 0600 $SSH_PRIVATE_KEY + - ssh -o 'StrictHostKeyChecking no' -i $SSH_PRIVATE_KEY $S390X_HOST + "mkdir -p ci-work/$CI_PIPELINE_IID" + script: + - echo $CI_PIPELINE_IID + - ./.bootstrap && + ./configure && make PACKAGE_VERSION=snapshot dist && + ls -l *.tar.gz + - cat nettle-snapshot.tar.gz | + ssh -o 'StrictHostKeyChecking no' -i $SSH_PRIVATE_KEY $S390X_HOST + "cd ci-work/$CI_PIPELINE_IID && tar xzf -" + - ssh -o 'StrictHostKeyChecking no' -i $SSH_PRIVATE_KEY $S390X_HOST + "cd ci-work/$CI_PIPELINE_IID/nettle-snapshot && ./configure --disable-documentation" + - ssh -o 'StrictHostKeyChecking no' -i $SSH_PRIVATE_KEY $S390X_HOST + "cd ci-work/$CI_PIPELINE_IID/nettle-snapshot && make" + - ssh -o 'StrictHostKeyChecking no' -i $SSH_PRIVATE_KEY $S390X_HOST + "cd ci-work/$CI_PIPELINE_IID/nettle-snapshot && make check" + after_script: + - ssh -o 'StrictHostKeyChecking no' -i $SSH_PRIVATE_KEY $S390X_HOST + "rm -rf ci-work/$CI_PIPELINE_IID" + tags: + - shared + - linux + except: + - tags @@ -1,3 +1,7 @@ +2021-03-24 Niels Möller <nisse@lysator.liu.se> + + * .gitlab-ci.yml: Add remote tests for s390x. + 2021-03-22 Niels Möller <nisse@lysator.liu.se> Arm64 improvements, including fat build support. Contributed by |