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