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-05-07 11:08:10 +08:00
|
|
|
CMAKE_ARGS: -A %Platform%
|
2020-04-28 10:09:27 +08:00
|
|
|
- job_name: VS2019CLANG
|
2020-05-07 11:08:10 +08:00
|
|
|
CMAKE_ARGS: -A %Platform% -T ClangCL
|
|
|
|
- job_name: VS2019ARM
|
|
|
|
CMAKE_ARGS: -A ARM64 -DCMAKE_CROSSCOMPILING=1 -D SIMDJSON_GOOGLE_BENCHMARKS=OFF # Does Google Benchmark builds under VS ARM?
|
2020-04-28 02:20:05 +08:00
|
|
|
- job_name: VS2017 (Static, No Threads)
|
|
|
|
image: Visual Studio 2017
|
2020-05-07 11:08:10 +08:00
|
|
|
CMAKE_ARGS: -A %Platform% -DSIMDJSON_BUILD_STATIC=ON -DSIMDJSON_ENABLE_THREADS=OFF
|
2020-04-28 02:20:05 +08:00
|
|
|
CTEST_ARGS: -E checkperf
|
|
|
|
- job_name: VS2019 (Win32)
|
|
|
|
platform: Win32
|
2020-05-07 11:08:10 +08:00
|
|
|
CMAKE_ARGS: -A %Platform% -DSIMDJSON_BUILD_STATIC=OFF -DSIMDJSON_ENABLE_THREADS=ON # This should be the default. Testing anyway.
|
2020-04-28 02:20:05 +08:00
|
|
|
CTEST_ARGS: -E checkperf
|
2020-04-07 02:58:26 +08:00
|
|
|
|
2019-02-23 05:15:52 +08:00
|
|
|
build_script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2020-04-26 05:48:57 +08:00
|
|
|
- cmake --version
|
2020-05-07 11:08:10 +08:00
|
|
|
- cmake %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-05-07 11:08:10 +08:00
|
|
|
for:
|
|
|
|
-
|
|
|
|
matrix:
|
|
|
|
except:
|
|
|
|
- job_name: VS2019ARM
|
|
|
|
|
|
|
|
test_script:
|
|
|
|
- ctest --output-on-failure -C %Configuration% --verbose %CTEST_ARGS% --parallel
|
|
|
|
|
2020-04-28 02:20:05 +08:00
|
|
|
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
|