summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2020-01-13 11:35:15 +0100
committerDaiki Ueno <dueno@redhat.com>2020-01-23 07:07:26 +0100
commit978773fccedb11d34e7c0f0fc022aa9d65a9ba3b (patch)
treee2187c86ec42740fd23658ef184f467ae83c0e5f /.gitlab-ci.yml
parent07596231f2e4b3c28d1587907ce51fe15c2d990a (diff)
downloadgnutls-978773fccedb11d34e7c0f0fc022aa9d65a9ba3b.tar.gz
.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 <dueno@redhat.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml31
1 files changed, 31 insertions, 0 deletions
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