summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorDmitry Baryshkov <dbaryshkov@gmail.com>2020-04-28 15:48:29 +0300
committerDmitry Baryshkov <dbaryshkov@gmail.com>2020-04-30 13:23:03 +0300
commit95036b8503c50ad4c3c97dd9ac747b2eaa79b5b5 (patch)
tree3f0f15b7d3390f82a218c8df524883ff186f989f /.gitlab-ci.yml
parent21423036765a4ddf3a75696887651f1ed83e8983 (diff)
downloadgnutls-95036b8503c50ad4c3c97dd9ac747b2eaa79b5b5.tar.gz
CI: add nettle-mini-gmp test
Wget/Wget2 OSS-Fuzz builders use mini-gmp version of nettle. Check that we do not break them occasionally. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d42dfcffee..ccc4eddfa1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -676,3 +676,35 @@ nettle-master.Fedora:
- tests/*/*.log
- tests/suite/*/*.log
retry: 1
+
+nettle-master-minigmp.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 --enable-mini-gmp --prefix=$NETTLE_DIR
+ - make -j$BUILDJOBS
+ - make -j$BUILDJOBS 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-full-test-suite
+ - make -j$BUILDJOBS
+ - PKG_CONFIG_PATH=$NETTLE_DIR/lib64/pkgconfig LD_LIBRARY_PATH=$NETTLE_DIR/lib64 make -j$CHECKJOBS check
+ tags:
+ - shared
+ - linux
+ except:
+ - tags
+ artifacts:
+ expire_in: 1 week
+ when: on_failure
+ paths:
+ - ./*.log
+ - fuzz/*.log
+ - tests/*.log
+ - tests/*/*.log
+ - tests/suite/*/*.log
+ retry: 1