Run Windows tests and builds in parallel

This commit is contained in:
John Keiser 2020-04-25 14:48:57 -07:00
parent 8c74e88f16
commit d61cca6720
1 changed files with 3 additions and 2 deletions

View File

@ -24,12 +24,13 @@ build_script:
- set - set
- mkdir build - mkdir build
- cd build - cd build
- cmake --version
- cmake -DSIMDJSON_BUILD_STATIC=%SIMDJSON_BUILD_STATIC% -DSIMDJSON_ENABLE_THREADS=%SIMDJSON_ENABLE_THREADS% -DCMAKE_BUILD_TYPE=%Configuration% -DCMAKE_GENERATOR_PLATFORM=%SIMDJSON_PLATFORM% .. - cmake -DSIMDJSON_BUILD_STATIC=%SIMDJSON_BUILD_STATIC% -DSIMDJSON_ENABLE_THREADS=%SIMDJSON_ENABLE_THREADS% -DCMAKE_BUILD_TYPE=%Configuration% -DCMAKE_GENERATOR_PLATFORM=%SIMDJSON_PLATFORM% ..
- cmake -LH .. - cmake -LH ..
- cmake --build . --config %Configuration% --verbose - cmake --build . --config %Configuration% --verbose --parallel
test_script: test_script:
- ctest --output-on-failure -C %Configuration% --verbose - ctest --output-on-failure -C %Configuration% --verbose --parallel
matrix: matrix:
fast_finish: true fast_finish: true