38 lines
1.0 KiB
YAML
38 lines
1.0 KiB
YAML
version: '{build}'
|
|
branches: { only: [ master ] }
|
|
configuration: Release
|
|
image: Visual Studio 2019
|
|
platform: x64
|
|
|
|
environment:
|
|
matrix:
|
|
- job_name: VS2019
|
|
CMAKE_ARGS: -DSIMDJSON_CHECKPERF_BRANCH=jkeiser/parse-t
|
|
- job_name: VS2019CLANG
|
|
CMAKE_ARGS: -T ClangCL
|
|
- job_name: VS2017 (Static, No Threads)
|
|
image: Visual Studio 2017
|
|
CMAKE_ARGS: -DSIMDJSON_BUILD_STATIC=ON -DSIMDJSON_ENABLE_THREADS=OFF
|
|
CTEST_ARGS: -E checkperf
|
|
- job_name: VS2019 (Win32)
|
|
platform: Win32
|
|
CMAKE_ARGS: -DSIMDJSON_BUILD_STATIC=OFF -DSIMDJSON_ENABLE_THREADS=ON # This should be the default. Testing anyway.
|
|
CTEST_ARGS: -E checkperf
|
|
|
|
build_script:
|
|
- set
|
|
- mkdir build
|
|
- cd build
|
|
- cmake --version
|
|
- cmake -A %Platform% %CMAKE_ARGS% --parallel ..
|
|
- cmake -LH ..
|
|
- cmake --build . --config %Configuration% --verbose --parallel
|
|
|
|
test_script:
|
|
- ctest --output-on-failure -C %Configuration% --verbose %CTEST_ARGS% --parallel
|
|
|
|
clone_folder: c:\projects\simdjson
|
|
|
|
matrix:
|
|
fast_finish: true
|