appveyor.yml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # AppVeyor CI build configuration for c-blosc
  2. # Before cloning the repo, configure git to handle line endings correctly.
  3. init:
  4. - git config --global core.autocrlf input
  5. # This is the build version displayed on AppVeyor's UI.
  6. # It's incrementally automatically like travis-ci but allows custom formatting.
  7. version: '{build}'
  8. environment:
  9. global:
  10. # SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
  11. # /E:ON and /V:ON options are not enabled in the batch script intepreter
  12. # See: http://stackoverflow.com/a/13751649/163740
  13. CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\appveyor\\run_with_env.cmd"
  14. matrix:
  15. # Unfortunately, I was not able to correctly make VS2008 to work
  16. # - GENERATOR: "Visual Studio 9 2008"
  17. # CONFIG: Release
  18. # Using Win64 for 2008 is unnecessarily complicated. See:
  19. # http://help.appveyor.com/discussions/kb/38-visual-studio-2008-64-bit-builds
  20. # - GENERATOR: "Visual Studio 9 2008 Win64"
  21. # CONFIG: Release
  22. - GENERATOR: "Visual Studio 10 2010"
  23. CONFIG: Release
  24. - GENERATOR: "Visual Studio 10 2010 Win64"
  25. CONFIG: Release
  26. - GENERATOR: "Visual Studio 12 2013"
  27. CONFIG: Release
  28. - GENERATOR: "Visual Studio 12 Win64"
  29. CONFIG: Release
  30. build_script:
  31. - cmake "-G%GENERATOR%" -H. -B_builds
  32. - cmake --build _builds --config "%CONFIG%"
  33. test_script:
  34. - ps: cd _builds
  35. - ctest -VV -C "%CONFIG%"