[network-manager-applet/lr/make-j] gitlab: don't run make -j



commit 0ba33c8842a12582dce2e705bda589fe94603653
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Tue May 28 10:03:30 2019 +0200

    gitlab: don't run make -j
    
    This was a misunderstanding of what it does on my part.

 .gitlab-ci.yml | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2ff637cb..8f541658 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -124,10 +124,10 @@
       --without-selinux
       --without-team
       --without-gcr
-    - make -j
-    - make -j check
-    - make -j install
-    - make -j uninstall
+    - make -j$(nproc)
+    - make -j$(nproc) check
+    - make -j$(nproc) install
+    - make -j$(nproc) uninstall
 
 .fedora_autotools_full: &fedora_autotools_full
   <<: *fedora_full
@@ -150,10 +150,10 @@
       --with-selinux
       --with-team
       --with-gcr
-    - make -j
-    - make -j check
-    - make -j install
-    - make -j uninstall
+    - make -j$(nproc)
+    - make -j$(nproc) check
+    - make -j$(nproc) install
+    - make -j$(nproc) uninstall
 
 fedora28_dist:
   <<: *fedora_full
@@ -165,7 +165,7 @@ fedora28_dist:
       NetworkManager-devel
       NetworkManager-glib-devel
     - sh autogen.sh
-    - make -j distcheck
+    - make -j$(nproc) distcheck
   artifacts:
     paths:
       - "*.xz"
@@ -234,10 +234,10 @@ centos7:
       --with-selinux
       --with-team
       --with-gcr
-    - make -j
-    - make -j check
-    - make -j install
-    - make -j uninstall
+    - make -j$(nproc)
+    - make -j$(nproc) check
+    - make -j$(nproc) install
+    - make -j$(nproc) uninstall
   image: centos:7
   stage: test
 
@@ -254,7 +254,7 @@ pages:
     - ./configure
       --disable-silent-rules
       --enable-gtk-doc
-    - make -j
+    - make -j$(nproc)
     - cd ..
     - mkdir -p public
     - mv network-manager-applet-*/html public/libnma


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