1clone_folder: c:\projects\jsoncpp 2 3environment: 4 5 matrix: 6 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 7 CMAKE_GENERATOR: Visual Studio 14 2015 8 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 9 CMAKE_GENERATOR: Visual Studio 14 2015 Win64 10 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 11 CMAKE_GENERATOR: Visual Studio 15 2017 12 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 13 CMAKE_GENERATOR: Visual Studio 15 2017 Win64 14 15build_script: 16 - cmake --version 17 # The build script starts in root. 18 - set JSONCPP_FOLDER=%cd% 19 - set JSONCPP_BUILD_FOLDER=%JSONCPP_FOLDER%\build\release 20 - mkdir -p %JSONCPP_BUILD_FOLDER% 21 - cd %JSONCPP_BUILD_FOLDER% 22 - cmake -G "%CMAKE_GENERATOR%" -DCMAKE_INSTALL_PREFIX:PATH=%CD:\=/%/install -DBUILD_SHARED_LIBS:BOOL=ON %JSONCPP_FOLDER% 23 # Use ctest to make a dashboard build: 24 # - ctest -D Experimental(Start|Update|Configure|Build|Test|Coverage|MemCheck|Submit) 25 # NOTE: Testing on windows is not yet finished: 26 # - ctest -C Release -D ExperimentalStart -D ExperimentalConfigure -D ExperimentalBuild -D ExperimentalTest -D ExperimentalSubmit 27 - ctest -C Release -D ExperimentalStart -D ExperimentalConfigure -D ExperimentalBuild -D ExperimentalSubmit 28 # Final step is to verify that installation succeeds 29 - cmake --build . --config Release --target install 30 31deploy: 32 provider: GitHub 33 auth_token: 34 secure: K2Tp1q8pIZ7rs0Ot24ZMWuwr12Ev6Tc6QkhMjGQxoQG3ng1pXtgPasiJ45IDXGdg 35 on: 36 branch: master 37 appveyor_repo_tag: true 38