You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by pn...@apache.org on 2021/07/26 18:55:05 UTC

[celix] branch feature/pubsub-interceptor-fix updated: Update CI config to try and limit the nr of parallel sub-make processes due to the required mem.

This is an automated email from the ASF dual-hosted git repository.

pnoltes pushed a commit to branch feature/pubsub-interceptor-fix
in repository https://gitbox.apache.org/repos/asf/celix.git


The following commit(s) were added to refs/heads/feature/pubsub-interceptor-fix by this push:
     new 821488d  Update CI config to try and limit the nr of parallel sub-make processes due to the required mem.
821488d is described below

commit 821488d2a112f2d8a46e19ac5144698d844d27cb
Author: Pepijn Noltes <pe...@gmail.com>
AuthorDate: Mon Jul 26 20:24:47 2021 +0200

    Update CI config to try and limit the nr of parallel sub-make processes due to the required mem.
---
 .github/workflows/celix_etcdlib.yml  | 2 +-
 .github/workflows/celix_promise.yml  | 2 +-
 .github/workflows/coverage.yml       | 2 +-
 .github/workflows/ubuntu-nightly.yml | 2 +-
 .github/workflows/ubuntu.yml         | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/celix_etcdlib.yml b/.github/workflows/celix_etcdlib.yml
index 10e6fbe..1abc53c 100644
--- a/.github/workflows/celix_etcdlib.yml
+++ b/.github/workflows/celix_etcdlib.yml
@@ -33,4 +33,4 @@ jobs:
           mkdir build install
           cd build
           cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../install ../libs/etcdlib
-          make -j && make install
+          make -j $(nproc) && make install
diff --git a/.github/workflows/celix_promise.yml b/.github/workflows/celix_promise.yml
index 6e563da..92dbd09 100644
--- a/.github/workflows/celix_promise.yml
+++ b/.github/workflows/celix_promise.yml
@@ -30,4 +30,4 @@ jobs:
           mkdir build install
           cd build
           cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../install ../libs/promises
-          make -j && make install
+          make -j $(nproc) && make install
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
index 72c4159..e6ff891 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/coverage.yml
@@ -35,7 +35,7 @@ jobs:
           mkdir build
           cd build
           cmake -DCMAKE_BUILD_TYPE=Debug ${BUILD_OPTIONS} ..
-          make -j
+          make -j $(nproc)
       - name: Coverage
         run: |
           cd $GITHUB_WORKSPACE/build
diff --git a/.github/workflows/ubuntu-nightly.yml b/.github/workflows/ubuntu-nightly.yml
index 40c2a5c..7d71e75 100644
--- a/.github/workflows/ubuntu-nightly.yml
+++ b/.github/workflows/ubuntu-nightly.yml
@@ -70,7 +70,7 @@ jobs:
           export BUILD_OPTIONS="${BUILD_OPTIONS} ${BUILD_OPTIONS_SANITIZER}"
         fi
         cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ${BUILD_OPTIONS} -DCMAKE_INSTALL_PREFIX=../install ..
-        make -j && make install
+        make -j $(nproc) && make install
     - name: Test
       run: |
         cd $GITHUB_WORKSPACE/build
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index 6ff1ae7..9d200bc 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.github/workflows/ubuntu.yml
@@ -69,7 +69,7 @@ jobs:
           export BUILD_OPTIONS="${BUILD_OPTIONS} ${BUILD_OPTIONS_SANITIZER}"
         fi
         cmake -DCMAKE_BUILD_TYPE=Debug ${BUILD_OPTIONS} -DCMAKE_INSTALL_PREFIX=../install ..
-        make -j && make install
+        make -j $(nproc) && make install
     - name: Test
       run: |
         cd $GITHUB_WORKSPACE/build