summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2019-05-25 21:17:27 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2019-05-29 17:05:04 +0200
commitd9a3653c9a58fcbc7d07bf0f142d646deccc3c65 (patch)
tree5b01ef11ea525a88f8c37dd92f41fe56a89656c1 /.gitlab-ci.yml
parenta67fa87f5382e40a08fdcbd4be554bb786c26b32 (diff)
downloadgnutls-d9a3653c9a58fcbc7d07bf0f142d646deccc3c65.tar.gz
Do not regenerate autogen files if --enable-local-libopts is giventmp-fix-libopts
This addresses issue on installed systems which have autogen but use --enable-local-libopts. In these systems if the installed autogen would not match the local libopts library version compilation would fail because the auto-generated files depend on the corresponding to autogen version libopts internals. Resolves: #772 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7fc747f5ff..ac6a8eb6ac 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -385,9 +385,13 @@ MinGW64:
echo ':DOSWin:M::MZ::/usr/bin/wine64:' > /proc/sys/fs/binfmt_misc/register &&
mkdir -p build && cd build
- dash ../configure --disable-gcc-warnings --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --cache-file ../cache/config.cache --with-included-libtasn1 --disable-guile --disable-nls --with-included-unistring --enable-local-libopts --disable-full-test-suite --disable-non-suiteb-curves --disable-doc
+ # generate the certtool autogen file to check whether later compilation will modify it
+ - mingw64-make -C src certtool-args.c.bak
- mingw64-make -j$(nproc)
- mingw64-make -C tests check -j$(nproc)
- cd ..
+ # since we use --enable-local-libopts the generated files must equal the .bak
+ - cmp build/src/certtool-args.c build/src/certtool-args.c.bak || false
tags:
- shared
- docker