[gjs: 1/2] CI: make a separate job for installed tests



commit 00448e1feee57cc0f8c395de944bc92228bc7300
Author: Claudio André <claudioandre br gmail com>
Date:   Sun Mar 25 17:13:39 2018 -0300

    CI: make a separate job for installed tests

 .gitlab-ci.yml  | 11 +++++++++--
 test/test-ci.sh |  2 +-
 2 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c907d6a..3961c84 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -78,7 +78,6 @@ ubuntu_gcc:
     CC: gcc
     DEV: devel
     TEST: "distcheck"
-    BUILD_OPTS: "--enable-installed-tests"
   only:
     - master@GNOME/gjs
 
@@ -90,7 +89,6 @@ ubuntu_clang:
     CC: clang
     DEV: devel
     TEST: "distcheck"
-    BUILD_OPTS: "--enable-installed-tests"
   only:
     - master@GNOME/gjs
 
@@ -113,6 +111,15 @@ no_profiler:
     TEST: "check"
     BUILD_OPTS: "--disable-profiler"
 
+installed_tests:
+  <<: *build
+  stage: thorough_tests
+  image: claudioandre/spidermonkey:ubuntu.dev.gcc
+  variables:
+    CC: clang
+    DEV: devel
+    BUILD_OPTS: "--enable-installed-tests --prefix=/usr"
+
 coverage:
   <<: *build
   stage: thorough_tests
diff --git a/test/test-ci.sh b/test/test-ci.sh
index 8d4ce2d..ba5dc39 100755
--- a/test/test-ci.sh
+++ b/test/test-ci.sh
@@ -11,7 +11,7 @@ function do_Set_Env(){
 
     #SpiderMonkey
     export PKG_CONFIG_PATH=/root/jhbuild/install/lib/pkgconfig
-    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/root/jhbuild/install/lib:/usr/local/lib
+    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/root/jhbuild/install/lib
 
     #Macros
     export ACLOCAL_PATH=$ACLOCAL_PATH:/root/jhbuild/install/share/aclocal


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]