version: '{build}' branches: { only: [ master ] } configuration: Release image: Visual Studio 2019 platform: x64 cache: - C:\dependencies -> dependencies\CMakeLists.txt environment: # Forward slash is used because this is used in CMake as is simdjson_DEPENDENCY_CACHE_DIR: C:/dependencies matrix: - job_name: VS2019 CMAKE_ARGS: -A %Platform% - job_name: VS2019ARM CMAKE_ARGS: -A ARM64 -DCMAKE_CROSSCOMPILING=1 -D SIMDJSON_GOOGLE_BENCHMARKS=OFF # Does Google Benchmark builds under VS ARM? - job_name: VS2017 (Static, No Threads) image: Visual Studio 2017 CMAKE_ARGS: -A %Platform% -DSIMDJSON_BUILD_STATIC=ON -DSIMDJSON_ENABLE_THREADS=OFF CTEST_ARGS: -LE explicitonly - job_name: VS2019 (Win32) platform: Win32 CMAKE_ARGS: -A %Platform% -DSIMDJSON_BUILD_STATIC=OFF -DSIMDJSON_ENABLE_THREADS=ON # This should be the default. Testing anyway. CTEST_ARGS: -LE explicitonly - job_name: VS2019 (Win32, No Exceptions) platform: Win32 CMAKE_ARGS: -A %Platform% -DSIMDJSON_BUILD_STATIC=OFF -DSIMDJSON_ENABLE_THREADS=ON -DSIMDJSON_EXCEPTIONS=OFF CTEST_ARGS: -LE explicitonly - job_name: VS2015 image: Visual Studio 2015 CMAKE_ARGS: -A %Platform% -DSIMDJSON_BUILD_STATIC=ON -DSIMDJSON_ENABLE_THREADS=OFF CTEST_ARGS: -LE explicitonly build_script: - mkdir build - cd build - cmake --version - cmake %CMAKE_ARGS% .. - cmake -LH .. - cmake --build . --config %Configuration% --verbose --parallel for: - matrix: except: - job_name: VS2019ARM test_script: - ctest --output-on-failure -C %Configuration% --verbose %CTEST_ARGS% --parallel clone_folder: c:\projects\simdjson matrix: fast_finish: true