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
|
|
|
|
|
2020-11-05 02:35:33 +08:00
|
|
|
cache:
|
|
|
|
- C:\dependencies -> dependencies\CMakeLists.txt
|
|
|
|
|
2019-07-05 05:19:05 +08:00
|
|
|
environment:
|
2020-11-05 02:35:33 +08:00
|
|
|
# Forward slash is used because this is used in CMake as is
|
|
|
|
simdjson_DEPENDENCY_CACHE_DIR: C:/dependencies
|
|
|
|
|
2019-07-05 05:19:05 +08:00
|
|
|
matrix:
|
2020-04-28 02:20:05 +08:00
|
|
|
- job_name: VS2019
|
2020-12-23 04:25:16 +08:00
|
|
|
CMAKE_ARGS: -A %Platform%
|
2020-05-07 11:08:10 +08:00
|
|
|
- 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-12-23 04:25:16 +08:00
|
|
|
CMAKE_ARGS: -A %Platform% -DSIMDJSON_BUILD_STATIC=ON -DSIMDJSON_ENABLE_THREADS=OFF
|
2020-12-12 09:28:24 +08:00
|
|
|
CTEST_ARGS: -LE explicitonly
|
2020-04-28 02:20:05 +08:00
|
|
|
- job_name: VS2019 (Win32)
|
|
|
|
platform: Win32
|
2020-12-23 04:25:16 +08:00
|
|
|
CMAKE_ARGS: -A %Platform% -DSIMDJSON_BUILD_STATIC=OFF -DSIMDJSON_ENABLE_THREADS=ON # This should be the default. Testing anyway.
|
|
|
|
CTEST_ARGS: -LE explicitonly
|
2020-10-27 02:11:25 +08:00
|
|
|
- job_name: VS2019 (Win32, No Exceptions)
|
|
|
|
platform: Win32
|
2020-12-23 04:25:16 +08:00
|
|
|
CMAKE_ARGS: -A %Platform% -DSIMDJSON_BUILD_STATIC=OFF -DSIMDJSON_ENABLE_THREADS=ON -DSIMDJSON_EXCEPTIONS=OFF
|
|
|
|
CTEST_ARGS: -LE explicitonly
|
2020-06-29 20:43:47 +08:00
|
|
|
- job_name: VS2015
|
|
|
|
image: Visual Studio 2015
|
2020-12-23 04:25:16 +08:00
|
|
|
CMAKE_ARGS: -A %Platform% -DSIMDJSON_BUILD_STATIC=ON -DSIMDJSON_ENABLE_THREADS=OFF
|
2020-12-12 09:28:24 +08:00
|
|
|
CTEST_ARGS: -LE explicitonly
|
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
|
2021-04-23 22:14:10 +08:00
|
|
|
- cmake %CMAKE_ARGS% ..
|
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
|