mirror of
https://github.com/Tencent/rapidjson.git
synced 2025-03-05 12:09:15 +01:00
29 lines
684 B
YAML
29 lines
684 B
YAML
version: 1.0.2.{build}
|
|
|
|
configuration:
|
|
- Debug
|
|
- Release
|
|
|
|
environment:
|
|
matrix:
|
|
- VS_VERSION: 11
|
|
VS_PLATFORM: win32
|
|
- VS_VERSION: 11
|
|
VS_PLATFORM: x64
|
|
- VS_VERSION: 12
|
|
VS_PLATFORM: win32
|
|
- VS_VERSION: 12
|
|
VS_PLATFORM: x64
|
|
|
|
before_build:
|
|
- git submodule update --init --recursive
|
|
- cmake -H. -BBuild/VS -G "Visual Studio %VS_VERSION%" -DCMAKE_GENERATOR_PLATFORM=%VS_PLATFORM% -DBUILD_SHARED_LIBS=true -Wno-dev
|
|
|
|
build:
|
|
project: Build\VS\RapidJSON.sln
|
|
parallel: true
|
|
verbosity: minimal
|
|
|
|
test_script:
|
|
- cd Build\VS && if %CONFIGURATION%==Debug (ctest --verbose -E perftest --build-config %CONFIGURATION%) else (ctest --verbose --build-config %CONFIGURATION%)
|