]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add install test job
authorOndřej Surý <ondrej@sury.org>
Tue, 14 Aug 2018 16:59:53 +0000 (18:59 +0200)
committerOndřej Surý <ondrej@isc.org>
Thu, 16 Aug 2018 13:13:41 +0000 (09:13 -0400)
.gitlab-ci.yml

index feaaa12c604667b2869fd294b92643b86b4fbe16..93a3a37d1d645a556c49ba34aa66c019f861b0ff 100644 (file)
@@ -115,12 +115,19 @@ stages:
     - test -w "${CCACHE_DIR}" && export PATH="/usr/lib/ccache:${PATH}"
 #    - ./autogen.sh
   script:
-    - ./configure --enable-developer --with-libtool --disable-static --with-atf=/usr $EXTRA_CONFIGURE || cat config.log
+    - ./configure --enable-developer --with-libtool --disable-static --with-atf=/usr --prefix=$HOME/.local $EXTRA_CONFIGURE || cat config.log
     - make -j${PARALLEL_JOBS_BUILD:-1} -k all V=1
   artifacts:
     expire_in: '1 hour'
     untracked: true
 
+.install_test: &install_test_job
+  stage: test
+  before_script:
+    - mkdir $HOME/.local
+  script:
+    - make install
+
 .system_test: &system_test_job
   stage: test
   before_script:
@@ -333,6 +340,12 @@ systemtest:debian:sid:i386:
   dependencies:
     - build:debian:sid:i386
 
+install:debian:sid:amd64:
+  <<: *debian_sid_amd64_image
+  <<: *install_test_job
+  dependencies:
+    - build:debian:sid:amd64
+
 pkcs11:build:debian:sid:amd64:
   variables:
     CC: gcc