Parallelize builds & tests
Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
parent
e143caa106
commit
ca04ac48de
2 changed files with 15 additions and 5 deletions
|
@ -37,14 +37,14 @@ build_script:
|
|||
- cd build
|
||||
- conan install -s arch=%ARCH% -s build_type=%CONFIGURATION% ..
|
||||
- cmake -DBUILD_TESTING=on -DWERROR=ON -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DCMAKE_INSTALL_PREFIX=%CD%/install -G "%GENERATOR%" ..
|
||||
- cmake --build . --config %CONFIGURATION% --target install -- /maxcpucount
|
||||
- cmake --build . --config %CONFIGURATION% --target install -- /nologo /verbosity:minimal /maxcpucount /p:CL_MPCount=2
|
||||
- cd install/share/CycloneDDS/examples/helloworld
|
||||
- mkdir build
|
||||
- cd build
|
||||
- cmake -DCMAKE_BUILD_TYPE=%CONFIGURATION% -G "%GENERATOR%" ..
|
||||
- cmake --build . --config %CONFIGURATION% -- /maxcpucount
|
||||
- cmake --build . --config %CONFIGURATION% -- /nologo /verbosity:minimal /maxcpucount /p:CL_MPCount=2
|
||||
- cd ../../../../../..
|
||||
|
||||
test_script:
|
||||
- set "CYCLONEDDS_URI=<CycloneDDS><DDSI2E><Internal><EnableExpensiveChecks>all</EnableExpensiveChecks></Internal></DDSI2E></CycloneDDS>"
|
||||
- ctest --test-action test --build-config %CONFIGURATION%
|
||||
- ctest --output-on-failure --parallel 4 --test-action test --build-config %CONFIGURATION%
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue