2019-02-23 05:15:52 +08:00
|
|
|
version: '{build}'
|
2020-04-28 02:20:05 +08:00
|
|
|
branches: { only: [ master ] }
|
2020-04-07 02:58:26 +08:00
|
|
|
configuration: Release
|
2020-04-28 02:20:05 +08:00
|
|
|
image: Visual Studio 2019
|
|
|
|
platform: x64
|
|
|
|
|
2019-07-05 05:19:05 +08:00
|
|
|
environment:
|
|
|
|
matrix:
|
2020-04-28 02:20:05 +08:00
|
|
|
- job_name: VS2019
|
2020-04-30 03:55:53 +08:00
|
|
|
CMAKE_ARGS:
|
2020-04-28 10:09:27 +08:00
|
|
|
- job_name: VS2019CLANG
|
|
|
|
CMAKE_ARGS: -T ClangCL
|
2020-04-28 02:20:05 +08:00
|
|
|
- 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
|
2020-04-07 02:58:26 +08:00
|
|
|
|
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-26 05:48:57 +08:00
|
|
|
- cmake --version
|
2020-04-28 02:20:05 +08:00
|
|
|
- cmake -A %Platform% %CMAKE_ARGS% --parallel ..
|
2020-04-11 07:37:00 +08:00
|
|
|
- cmake -LH ..
|
2020-04-26 05:48:57 +08:00
|
|
|
- cmake --build . --config %Configuration% --verbose --parallel
|
2019-11-23 04:51:46 +08:00
|
|
|
|
2020-04-07 02:58:26 +08:00
|
|
|
test_script:
|
2020-04-28 02:20:05 +08:00
|
|
|
- ctest --output-on-failure -C %Configuration% --verbose %CTEST_ARGS% --parallel
|
|
|
|
|
|
|
|
clone_folder: c:\projects\simdjson
|
2020-04-28 10:09:27 +08:00
|
|
|
|
2020-04-07 02:58:26 +08:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|