]> 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@sury.org>
Wed, 22 Aug 2018 07:10:51 +0000 (09:10 +0200)
.gitlab-ci.yml

index bf4d1934d57f344495ceaee982f434bf90890cb4..08e09dea381979c5bdf7c45f70cf8c60b9fde3cc 100644 (file)
@@ -114,12 +114,19 @@ stages:
     - test -w "${CCACHE_DIR}" && export PATH="/usr/lib/ccache:${PATH}"
     - autoreconf -fi
   script:
-    - ./configure --enable-developer --with-libtool --disable-static --with-atf=/usr --with-libidn2 "${EXTRA_CONFIGURE}"
+    - ./configure --enable-developer --with-libtool --disable-static --with-atf=/usr --with-libidn2 --prefix=$HOME/.local "${EXTRA_CONFIGURE}"
     - 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:
@@ -262,3 +269,9 @@ systemtest:debian:sid:i386:
   <<: *system_test_job
   dependencies:
     - build:debian:sid:i386
+
+install:debian:sid:amd64:
+  <<: *debian_sid_amd64_image
+  <<: *install_test_job
+  dependencies:
+    - build:debian:sid:amd64