2019-02-23 05:15:52 +08:00
|
|
|
version: '{build}'
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
clone_folder: c:\projects\simdjson
|
2020-04-07 02:58:26 +08:00
|
|
|
platform: x64
|
|
|
|
image:
|
|
|
|
- Visual Studio 2019
|
|
|
|
- Visual Studio 2017
|
|
|
|
configuration: Release
|
2019-07-05 05:19:05 +08:00
|
|
|
environment:
|
|
|
|
matrix:
|
2020-04-07 02:58:26 +08:00
|
|
|
- SIMDJSON_BUILD_STATIC: ON
|
|
|
|
SIMDJSON_ENABLE_THREADS: OFF
|
|
|
|
- SIMDJSON_BUILD_STATIC: OFF
|
|
|
|
SIMDJSON_ENABLE_THREADS: ON
|
|
|
|
|
2019-02-23 05:15:52 +08:00
|
|
|
build_script:
|
2020-04-07 02:58:26 +08:00
|
|
|
- set
|
2019-02-23 05:15:52 +08:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2020-04-07 02:58:26 +08:00
|
|
|
- cmake -DSIMDJSON_BUILD_STATIC=%SIMDJSON_BUILD_STATIC% -DSIMDJSON_ENABLE_THREADS=%SIMDJSON_ENABLE_THREADS% -DCMAKE_BUILD_TYPE=%Configuration% -DCMAKE_GENERATOR_PLATFORM=x64 -DSIMDJSON_GOOGLE_BENCHMARKS=OFF ..
|
|
|
|
- cmake --build . --config %Configuration%
|
2019-11-23 04:51:46 +08:00
|
|
|
|
2020-04-07 02:58:26 +08:00
|
|
|
test_script:
|
|
|
|
- ctest --verbose --output-on-failure -C %Configuration%
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
exclude:
|
|
|
|
# Don't build all variants on 2019, just running it to make sure readme_tests succeed
|
|
|
|
- image: Visual Studio 2019
|
|
|
|
SIMDJSON_BUILD_STATIC: ON
|
|
|
|
SIMDJSON_ENABLE_THREADS: OFF
|