blob: 3cf5ba4270efd351f3db69d039e3a37c8cafa9b0 [file] [log] [blame]
Jon Turneyd4676b82017-02-10 14:32:44 +00001version: '{build}'
2
3environment:
4 GYP_MSVS_VERSION: 2013
5
6platform:
7 - Win32
8
9configuration:
10 - Debug
11 - Release
12
13# Use the source dir expected by gclient.
14clone_folder: c:\projects\breakpad\src
15
16# Before checkout.
17init:
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.
25install:
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
31build_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
36test_script:
37 - src\client\windows\%CONFIGURATION%\client_tests.exe
38 - src\tools\windows\%CONFIGURATION%\dump_syms_unittest.exe
39
40artifacts:
41 - path: '**\*.exe'
42 - path: '**\*.lib'