[Spice-devel] [Patch spice-gtk 2/2] gitlab-ci: build out-of-tree too

Uri Lublin uril at redhat.com
Tue Apr 23 15:24:57 UTC 2019


Signed-off-by: Uri Lublin <uril at redhat.com>
---
 .gitlab-ci.yml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index adf53e1..dbfb7ad 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -30,10 +30,13 @@ fedora-autotools:
     - (cd spice-protocol && ./autogen.sh --prefix=/usr && make install)
 
   script:
-    # Run with default options
-    - ./autogen.sh --enable-static
+    # Run with default options + out-of-tree
+    - mkdir build
+    - cd build
+    - ../autogen.sh --enable-static
     - make -j4
     - make check
+    - cd ..
     # Run without features
     - git clean -xfd
     - ./autogen.sh --enable-static
-- 
2.20.1



More information about the Spice-devel mailing list