appveyor.yml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. version: '{build}'
  2. environment:
  3. GYP_MSVS_VERSION: 2013
  4. platform:
  5. - Win32
  6. configuration:
  7. - Debug
  8. - Release
  9. # Use the source dir expected by gclient.
  10. clone_folder: c:\projects\breakpad\src
  11. # Before checkout.
  12. init:
  13. - cd %APPVEYOR_BUILD_FOLDER%\..\..
  14. - appveyor DownloadFile https://storage.googleapis.com/chrome-infra/depot_tools.zip
  15. - 7z -bd x depot_tools.zip -odepot_tools
  16. - depot_tools\update_depot_tools
  17. - cd %APPVEYOR_BUILD_FOLDER%
  18. # After checkout.
  19. install:
  20. - PATH C:\projects\depot_tools;%PATH%
  21. - cd %APPVEYOR_BUILD_FOLDER%\..
  22. - gclient config https://%APPVEYOR_REPO_PROVIDER%.com/%APPVEYOR_REPO_NAME% --unmanaged --name=src
  23. - gclient sync
  24. build_script:
  25. - cd %APPVEYOR_BUILD_FOLDER%
  26. - msbuild src\client\windows\breakpad_client.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /m /verbosity:normal
  27. - msbuild src\tools\windows\tools_windows.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /m /verbosity:normal
  28. test_script:
  29. - src\client\windows\%CONFIGURATION%\client_tests.exe
  30. - src\tools\windows\%CONFIGURATION%\dump_syms_unittest.exe
  31. artifacts:
  32. - path: '**\*.exe'
  33. - path: '**\*.lib'