]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
.gitlab-ci.yml: add target to build against nettle master
authorDaiki Ueno <dueno@redhat.com>
Mon, 13 Jan 2020 10:35:15 +0000 (11:35 +0100)
committerDaiki Ueno <dueno@redhat.com>
Thu, 23 Jan 2020 06:07:26 +0000 (07:07 +0100)
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>
.gitlab-ci.yml

index 2f569debc054f58b3e00c2b5589bc0358a791870..26a36ce3dc1957ef3a32b154c16038de645c1562 100644 (file)
@@ -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