You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

appveyor.yml 1.0 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. version: '{branch}.{build}'
  2. image:
  3. # VS2015 also used for earlier VS builds
  4. # aka os: Windows Server 2012 R2
  5. - Visual Studio 2015
  6. # aka os: Windows Server 2016
  7. - Visual Studio 2017
  8. # aka os: Windows Server 2019
  9. - Visual Studio 2019
  10. platform: x64
  11. for:
  12. -
  13. matrix:
  14. only:
  15. - image: Visual Studio 2015
  16. environment:
  17. matrix:
  18. - b_toolset: Windows7.1SDK
  19. b_config: Debug
  20. - b_toolset: v120
  21. b_config: Debug
  22. - b_toolset: v140
  23. b_config: Debug
  24. build_script:
  25. - cmake -T %b_toolset% -DCMAKE_BUILD_TYPE=%b_config% -DCMAKE_INSTALL_PREFIX=t_install .
  26. - cmake --build . --target install
  27. environment:
  28. matrix:
  29. - b_config: Debug
  30. - b_config: Release
  31. build_script:
  32. - cmake -DCMAKE_BUILD_TYPE=%b_config% -DCMAKE_INSTALL_PREFIX=t_install .
  33. - cmake --build . --target install
  34. after_build:
  35. - cd t_install
  36. - 7z a ../json-c.win32.%b_toolset%.%b_config%.zip *
  37. artifacts:
  38. - path: json-c.win32.%b_toolset%.%b_config%.zip
  39. name: json-c.win32.%b_toolset%.%b_config%.zip