CI: Run ctest tests in parallel, in random order

This commit is contained in:
Paweł Bylica 2019-04-02 14:27:18 +02:00
parent 2717741286
commit 721a0c5822
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
3 changed files with 3 additions and 3 deletions

View File

@ -20,4 +20,4 @@ install:
- cmake --build . --config Release --target install
script:
- cmake --build . --config Release --target RUN_TESTS
- ctest -C Release -j4 --schedule-random --output-on-failure

View File

@ -54,5 +54,5 @@ build_script:
after_build:
- ps: >-
if ($env:GENERATOR) {
cmake --build . --config $env:CONFIGURATION --target RUN_TESTS
ctest -C $env:CONFIGURATION -j4 --schedule-random --output-on-failure
}

View File

@ -41,7 +41,7 @@ jobs:
command: cmake --build ~/build
- run:
name: "Test"
command: cmake --build ~/build --target test
command: cmake --build ~/build --target test -- ARGS="-j4 --schedule-random --output-on-failure"
- run:
name: "Install"
command: cmake --build ~/build --target install