aboutsummaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2017-02-10 14:32:44 +0000
committerMike Frysinger <vapier@chromium.org>2017-02-13 17:57:15 +0000
commitd4676b89a0751773fdaa2affe08ed28ebdd47a9a (patch)
treedb783a05357e3d695047933200c375110c22c1fb /appveyor.yml
parentturn on -Werror generally (diff)
downloadbreakpad-d4676b89a0751773fdaa2affe08ed28ebdd47a9a.tar.xz
Appveyor CI for Windows MSVS build
Add a .gyp file for building all windows tools, and add hook to run gyp to create corresponding .sln files. This doesn't try to build for platform:x64. This fails due to various errors caused by the assumption that size_t can be converted to an unsigned int without loss of information, which is not true on Windows x64 (LLP64), where size_t is 64 bits, but int is only 32 bits. There are test failures. client_tests failures are as described in [1]. dump_syms_unittest are as discussed in the description of [2]. [1] https://bugs.chromium.org/p/google-breakpad/issues/detail?id=520 [2] https://codereview.chromium.org/1782453003 BUG= Change-Id: I965244eb3746f87f30160fd0577e1cc9eb7a8b08 Reviewed-on: https://chromium-review.googlesource.com/441026 Reviewed-by: Mike Frysinger <vapier@chromium.org>
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml42
1 files changed, 42 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 00000000..3cf5ba42
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,42 @@
+version: '{build}'
+
+environment:
+ GYP_MSVS_VERSION: 2013
+
+platform:
+ - Win32
+
+configuration:
+ - Debug
+ - Release
+
+# Use the source dir expected by gclient.
+clone_folder: c:\projects\breakpad\src
+
+# Before checkout.
+init:
+ - cd %APPVEYOR_BUILD_FOLDER%\..\..
+ - appveyor DownloadFile https://storage.googleapis.com/chrome-infra/depot_tools.zip
+ - 7z -bd x depot_tools.zip -odepot_tools
+ - depot_tools\update_depot_tools
+ - cd %APPVEYOR_BUILD_FOLDER%
+
+# After checkout.
+install:
+ - PATH C:\projects\depot_tools;%PATH%
+ - cd %APPVEYOR_BUILD_FOLDER%\..
+ - gclient config https://%APPVEYOR_REPO_PROVIDER%.com/%APPVEYOR_REPO_NAME% --unmanaged --name=src
+ - gclient sync
+
+build_script:
+ - cd %APPVEYOR_BUILD_FOLDER%
+ - msbuild src\client\windows\breakpad_client.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /m /verbosity:normal
+ - msbuild src\tools\windows\tools_windows.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /m /verbosity:normal
+
+test_script:
+ - src\client\windows\%CONFIGURATION%\client_tests.exe
+ - src\tools\windows\%CONFIGURATION%\dump_syms_unittest.exe
+
+artifacts:
+ - path: '**\*.exe'
+ - path: '**\*.lib'