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