Browse Source

gitlab-ci: nproc make jobs

Fabian Peter Hammerle 5 years ago
parent
commit
89b17a6573
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .gitlab-ci.yml

+ 2 - 2
.gitlab-ci.yml

@@ -10,10 +10,10 @@ tests:
     make
   - cd /usr/src/googletest
   - cmake .
-  - make install
+  - make install --jobs=$(nproc)
   - cd $CI_PROJECT_DIR
   - cmake .
-  - cmake --build .
+  - make --jobs=$(nproc)
   - tests/hdf4cpp-tests
 
 # https://docs.gitlab.com/ce/ci/yaml/README.html