[gimp/wip/schumaml/gitlab-ci: 14/14] build: .gitlab-ci.yml: use nproc to speed up the autotools builds



commit cd38d172b33cf1214459b6df5714527edd9d94ee
Author: Michael Schumacher <schumaml gmx de>
Date:   Mon Jul 29 00:32:49 2019 +0200

    build: .gitlab-ci.yml: use nproc to speed up the autotools builds

 .gitlab-ci.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 23773fac75..5cdaecd077 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -37,7 +37,7 @@ babl-git-autotools:
   script:
     - cd _build
     - ../autogen.sh --prefix="$INSTALL_PREFIX"
-    - make
+    - make -j `nproc`
     - make install
 
 # babl-git-meson:
@@ -110,7 +110,7 @@ gegl-git-autotools:
   script:
     - cd _build
     - PKG_CONFIG_PATH="$INSTALL_PREFIX/lib/pkgconfig" ../autogen.sh --prefix="$INSTALL_PREFIX" 
$CONFIG_OPTIONS
-    - LD_LIBRARY_PATH="$INSTALL_PREFIX/lib:$LD_LIBRARY_PATH" make
+    - LD_LIBRARY_PATH="$INSTALL_PREFIX/lib:$LD_LIBRARY_PATH" make -j `nproc`
     - LD_LIBRARY_PATH="$INSTALL_PREFIX/lib:$LD_LIBRARY_PATH" make install
 
 .gimp-base:
@@ -169,7 +169,7 @@ gegl-git-autotools:
   script:
     - cd _build
     - LIBMYPAINT_CFLAGS="-I/usr/include/libmypaint-1.3 -I/usr/include/json-c" LIBMYPAINT_LIBS="-lmypaint-1.3 
-ljson-c" PKG_CONFIG_PATH="$INSTALL_PREFIX/lib/pkgconfig" ../autogen.sh --prefix="$INSTALL_PREFIX" 
$CONFIG_OPTIONS
-    - LD_LIBRARY_PATH="$INSTALL_PREFIX/lib:$LD_LIBRARY_PATH" make
+    - LD_LIBRARY_PATH="$INSTALL_PREFIX/lib:$LD_LIBRARY_PATH" make -j `nproc`
 #    - LD_LIBRARY_PATH="$INSTALL_PREFIX/lib:$LD_LIBRARY_PATH" make check
   artifacts:
     name: "app-tests-logs-$CI_JOB_NAME-$CI_COMMIT_REF_NAME"


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