appveyor.yml 1.3 KB

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