Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Try to use parallel build/tests when possible
authorAugustin Degomme <adegomme@gmail.com>
Mon, 24 Feb 2020 14:48:45 +0000 (15:48 +0100)
committerAugustin Degomme <adegomme@gmail.com>
Mon, 24 Feb 2020 14:49:11 +0000 (15:49 +0100)
.gitlab-ci.yml
.travis.yml

index ce05b23..72cab25 100644 (file)
@@ -32,7 +32,7 @@ ctest:
   - stable
   script:
   - cmake -Denable_model-checking=OFF -Denable_documentation=OFF -Denable_coverage=OFF -Denable_lua=OFF -Denable_compile_optimizations=ON -Denable_smpi=ON -Denable_smpi_MPICH3_testsuite=ON -Denable_compile_warnings=ON -DLTO_EXTRA_FLAG="auto" .
-  - make -j$(nproc) VERBOSE=1 all tests && ctest --output-on-failure
+  - make -j$(nproc) VERBOSE=1 all tests && ctest -j$(nproc) --output-on-failure
 
 pip:
   image: debian:testing
index ab845be..c3874de 100644 (file)
@@ -43,7 +43,7 @@ jobs:
       - sudo apt-get update -qq
       - sudo apt-get install cmake valgrind gfortran libboost-dev libboost-all-dev libdw-dev libevent-dev libunwind8-dev pybind11-dev
       - (cmake -Denable_model-checking=ON  -Denable_documentation=OFF -Denable_coverage=ON -Denable_lua=OFF -Denable_compile_optimizations=ON -Denable_smpi=ON -Denable_smpi_MPICH3_testsuite=ON -Denable_compile_warnings=ON -DLTO_EXTRA_FLAG="auto" . || (echo XXX CMakeOutput.log; cat /home/travis/build/simgrid/simgrid/CMakeFiles/CMakeOutput.log; echo XXX CMakeError.log;cat /home/travis/build/simgrid/simgrid/CMakeFiles/CMakeError.log; exit 1))
-      - make -j$(nproc) VERBOSE=1 all && make -j2 tests && ctest -j2 --output-on-failure
+      - make -j$(nproc) VERBOSE=1 all && make -j$(nproc) tests && ctest -j$(nproc) --output-on-failure
     - os: windows
       script:
       - mv "C:/Program Files/Git/usr/bin/sh.exe" "sh-ignored.exe"