gitlab-ci: Also test installation
authorAndreas Schneider <asn@samba.org>
Mon, 15 Jul 2019 08:56:27 +0000 (10:56 +0200)
committerAndreas Schneider <asn@samba.org>
Mon, 15 Jul 2019 08:56:27 +0000 (10:56 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
.gitlab-ci.yml

index f51694789147b7a328a503befe48780b574dafa4..34466ad4b1b4ea46c6ec834fc0468b1556f43561 100644 (file)
@@ -29,10 +29,11 @@ fedora/x86_64:
   image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
   script:
   - mkdir -p obj && cd obj && cmake
+    -DCMAKE_INSTALL_PREFIX=/tmp/local
     -DCMAKE_BUILD_TYPE=RelWithDebInfo
     -DPICKY_DEVELOPER=ON
     -DUNIT_TESTING=ON .. &&
-    make -j$(nproc) && ctest --output-on-failure
+    make -j$(nproc) && ctest --output-on-failure && make install
   tags:
   - shared
   except: