From 978773fccedb11d34e7c0f0fc022aa9d65a9ba3b Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Mon, 13 Jan 2020 11:35:15 +0100 Subject: .gitlab-ci.yml: add target to build against nettle master This is similar to the build/gnutls target in nettle's own gitlab CI. The only difference is that this will build/test all branches of GnuTLS against the master branch of nettle. Signed-off-by: Daiki Ueno --- .gitlab-ci.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2f569debc0..26a36ce3dc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -609,3 +609,34 @@ Debian.cross.mips-linux-gnu: Debian.cross.aarch64-linux-gnu: <<: *Debian_cross_template + +nettle-master.Fedora: + stage: stage1-testing + image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD + script: + - git clone --depth 1 --branch master https://gitlab.com/gnutls/nettle.git nettle-git + - export NETTLE_DIR=${PWD}/nettle + - pushd nettle-git + - ./.bootstrap + - ./configure --disable-documentation --prefix=$NETTLE_DIR + - make -j$(nproc) + - make -j$(nproc) install + - popd + - SUBMODULE_NOFETCH=1 ./bootstrap + - PKG_CONFIG_PATH=$NETTLE_DIR/lib64/pkgconfig dash ./configure --cache-file cache/config.cache --disable-gcc-warnings --disable-doc --disable-guile --disable-gost + - make -j$(nproc) + - PKG_CONFIG_PATH=$NETTLE_DIR/lib64/pkgconfig LD_LIBRARY_PATH=$NETTLE_DIR/lib64 make -j$(nproc) check + tags: + - shared + except: + - tags + artifacts: + expire_in: 1 week + when: on_failure + paths: + - ./*.log + - fuzz/*.log + - tests/*.log + - tests/*/*.log + - tests/suite/*/*.log + retry: 1 -- cgit v1.2.1