]> www.infradead.org Git - users/dwmw2/openconnect.git/commitdiff
Make tmp-distdir and build there, as part of CI
authorDavid Woodhouse <dwmw2@infradead.org>
Thu, 10 Jan 2019 16:12:17 +0000 (16:12 +0000)
committerDavid Woodhouse <dwmw2@infradead.org>
Thu, 10 Jan 2019 16:12:17 +0000 (16:12 +0000)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
.gitlab-ci.yml

index 93dd7f624ace347cdcb000432e5ba67ca943638b..cc5623bf8be2c1a64f3d332893d5230d75b915b6 100644 (file)
@@ -97,6 +97,9 @@ Fedora/GnuTLS:
     java-devel-openjdk glibc-langpack-cs iproute iputils nuttcp
   - ./autogen.sh
   - ./configure --with-java --disable-dsa-tests CFLAGS=-g
+  - make tmp-distdir
+  - cd openconnect-$(git describe --tags | sed s/^v//)
+  - ./configure --with-java --disable-dsa-tests CFLAGS=-g
   - make -j4
   - make VERBOSE=1 -j4 check
   tags:
@@ -121,6 +124,9 @@ Fedora/GnuTLS/clang:
     java-devel-openjdk clang glibc-langpack-cs iproute iputils nuttcp
   - ./autogen.sh
   - ./configure --with-java --disable-dsa-tests CC=clang CFLAGS=-g
+  - make tmp-distdir
+  - cd openconnect-$(git describe --tags | sed s/^v//)
+  - ./configure --with-java --disable-dsa-tests CC=clang CFLAGS=-g
   - make -j4
   - make VERBOSE=1 -j4 check
   tags:
@@ -147,6 +153,9 @@ Fedora/OpenSSL:
   - update-crypto-policies --set LEGACY
   - ./autogen.sh
   - ./configure --without-gnutls --with-openssl --without-openssl-version-check --disable-dsa-tests CFLAGS=-g
+  - make tmp-distdir
+  - cd openconnect-$(git describe --tags | sed s/^v//)
+  - ./configure --without-gnutls --with-openssl --without-openssl-version-check --disable-dsa-tests CFLAGS=-g
   - make -j4
   - make VERBOSE=1 -j4 check
   tags:
@@ -173,6 +182,9 @@ Fedora/OpenSSL/clang:
   - update-crypto-policies --set LEGACY
   - ./autogen.sh
   - ./configure CC=clang --without-gnutls --with-openssl --without-openssl-version-check --disable-dsa-tests CFLAGS=-g
+  - make tmp-distdir
+  - cd openconnect-$(git describe --tags | sed s/^v//)
+  - ./configure CC=clang --without-gnutls --with-openssl --without-openssl-version-check --disable-dsa-tests CFLAGS=-g
   - make -j4
   - make VERBOSE=1 -j4 check
   tags: