[rhythmbox/wip/hadess/separate-builddir-ci] ci: Use srcdir != builddir in CI



commit 3108740fd471ad8c54275fd072cda742bd1a8335
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Jan 14 10:38:04 2019 +0100

    ci: Use srcdir != builddir in CI
    
    To make it easy to catch build errors

 .gitlab-ci.yml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d37e966f6..b50729db3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,7 +19,10 @@ before_script:
 test:
   stage: test
   script:
-    - NOCONFIGURE=1 ./autogen.sh
-    - ./configure
+    - mkdir build
+    - cd build
+    - NOCONFIGURE=1 ../autogen.sh
+    - ../configure
     - make
     - make check
+    - make install


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