Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

38 wiersze
1.5KB

  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. # The build script starts in root.
  15. - set JSONCPP_FOLDER=%cd%
  16. - set JSONCPP_BUILD_FOLDER=%JSONCPP_FOLDER%\build\release
  17. - mkdir -p %JSONCPP_BUILD_FOLDER%
  18. - cd %JSONCPP_BUILD_FOLDER%
  19. - cmake -G "%CMAKE_GENERATOR%" -DCMAKE_INSTALL_PREFIX:PATH=%CD:\=/%/install -DBUILD_SHARED_LIBS:BOOL=ON %JSONCPP_FOLDER%
  20. # Use ctest to make a dashboard build:
  21. # - ctest -D Experimental(Start|Update|Configure|Build|Test|Coverage|MemCheck|Submit)
  22. # NOTE: Testing on windows is not yet finished:
  23. # - ctest -C Release -D ExperimentalStart -D ExperimentalConfigure -D ExperimentalBuild -D ExperimentalTest -D ExperimentalSubmit
  24. - ctest -C Release -D ExperimentalStart -D ExperimentalConfigure -D ExperimentalBuild -D ExperimentalSubmit
  25. # Final step is to verify that installation succeeds
  26. - cmake --build . --config Release --target install
  27. deploy:
  28. provider: GitHub
  29. auth_token:
  30. secure: K2Tp1q8pIZ7rs0Ot24ZMWuwr12Ev6Tc6QkhMjGQxoQG3ng1pXtgPasiJ45IDXGdg
  31. on:
  32. branch: master
  33. appveyor_repo_tag: true