summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2020-11-05 05:56:31 +0100
committerDaiki Ueno <ueno@gnu.org>2020-11-09 10:05:32 +0100
commit0a4c6cee46186f87a0bd6e32448dde544ac1cb08 (patch)
tree8a5ca9d4911599dae6de751f68f1673755f94b95
parent4c921d13966b5210009b239f9a855302c33b2990 (diff)
downloadgnutls-0a4c6cee46186f87a0bd6e32448dde544ac1cb08.tar.gz
.gitlab-ci.yml: use nettle git master for FreeBSD.x86_64
Signed-off-by: Daiki Ueno <ueno@gnu.org>
-rw-r--r--.gitlab-ci.yml20
1 files changed, 15 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 761e9b0fc0..e6a2bad7a3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -562,12 +562,22 @@ FreeBSD.x86_64:
image:
script:
- export CC="ccache clang"
+ - git clone --depth 1 --branch master https://gitlab.com/gnutls/nettle.git nettle-git
+ - export NETTLE_DIR=${PWD}/nettle
+ - cd nettle-git
+ - ./.bootstrap
+ - ./configure --enable-mini-gmp --disable-documentation --disable-openssl --prefix=$NETTLE_DIR
+ - gmake
+ - gmake install
+ - cd -
- ./bootstrap
- - export LDFLAGS="-L/usr/local/lib"
- - ./configure --disable-full-test-suite
- --cache-file cache/config.cache --disable-gcc-warnings --disable-guile --disable-doc
- - gmake -j$(sysctl hw.ncpu | awk '{print $2}')
- - gmake check -j$(sysctl hw.ncpu | awk '{print $2}')
+ - export LDFLAGS="-Wl,-rpath,$NETTLE_DIR/lib -L$NETTLE_DIR/lib -L/usr/local/lib"
+ - export PKG_CONFIG_PATH=$NETTLE_DIR/lib/pkgconfig
+ - export CPPFLAGS=`pkg-config hogweed --cflags-only-I`
+ - export LD_LIBRARY_PATH=$NETTLE_DIR/lib
+ - ./configure --disable-full-test-suite --cache-file cache/config.cache --disable-gcc-warnings --disable-guile --disable-doc --with-nettle-mini
+ - gmake V=1 2>&1 | tee make.log
+ - gmake check
tags:
- freebsd
only: