appveyor.yml 1009 B

12345678910111213141516171819202122232425262728293031323334
  1. # Only test one combination: "Visual Studio 12 + Win64 + Debug + DLL". We can
  2. # test more combinations but AppVeyor just takes too long to finish (each
  3. # combination takes ~15mins).
  4. platform:
  5. - Win64
  6. configuration:
  7. - Debug
  8. environment:
  9. matrix:
  10. - BUILD_DLL: ON
  11. install:
  12. - ps: Start-FileDownload https://googlemock.googlecode.com/files/gmock-1.7.0.zip
  13. - 7z x gmock-1.7.0.zip
  14. - rename gmock-1.7.0 gmock
  15. before_build:
  16. - if %platform%==Win32 set generator=Visual Studio 12
  17. - if %platform%==Win64 set generator=Visual Studio 12 Win64
  18. - if %platform%==Win32 set vcplatform=Win32
  19. - if %platform%==Win64 set vcplatform=x64
  20. build_script:
  21. - mkdir build_msvc
  22. - cd build_msvc
  23. - cmake -G "%generator%" -DBUILD_SHARED_LIBS=%BUILD_DLL% ../cmake
  24. - msbuild protobuf.sln /p:Platform=%vcplatform% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
  25. - cd %configuration%
  26. - tests.exe
  27. skip_commits:
  28. message: /.*\[skip appveyor\].*/