2019-02-23 05:15:52 +08:00
|
|
|
version: '{build}'
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
image:
|
|
|
|
- Visual Studio 2017
|
|
|
|
clone_folder: c:\projects\simdjson
|
|
|
|
|
|
|
|
platform:
|
|
|
|
- x64
|
|
|
|
|
2019-07-05 05:19:05 +08:00
|
|
|
environment:
|
|
|
|
matrix:
|
2019-08-04 21:56:34 +08:00
|
|
|
- SIMDJSON_BUILD_STATIC: "OFF"
|
2019-11-23 04:51:46 +08:00
|
|
|
THREADS: "ON"
|
|
|
|
- SIMDJSON_BUILD_STATIC: "OFF"
|
|
|
|
THREADS: "OFF"
|
2019-08-04 21:56:34 +08:00
|
|
|
- SIMDJSON_BUILD_STATIC: "ON"
|
2019-11-23 04:51:46 +08:00
|
|
|
THREADS: "ON"
|
|
|
|
# - SIMDJSON_BUILD_STATIC: "ON"
|
|
|
|
# THREADS: "OFF"
|
2019-08-04 21:56:34 +08:00
|
|
|
|
2019-02-23 05:15:52 +08:00
|
|
|
build_script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2020-02-15 07:20:17 +08:00
|
|
|
- ps: cmake -DSIMDJSON_BUILD_STATIC="$env:SIMDJSON_BUILD_STATIC" -DSIMDJSON_ENABLE_THREADS="$env:THREADS" -DCMAKE_BUILD_TYPE=Release -DCMAKE_GENERATOR_PLATFORM=x64 -DSIMDJSON_GOOGLE_BENCHMARKS=OFF ..
|
2019-02-23 05:15:52 +08:00
|
|
|
- cmake --build .
|
2019-08-10 05:26:05 +08:00
|
|
|
- ctest --verbose --output-on-failure
|
2019-11-23 04:51:46 +08:00
|
|
|
|