summaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2015-11-28 12:21:40 +0000
committerChris Wilson <chris+github@qwirx.com>2015-11-28 12:21:40 +0000
commitceb09a59b8cbce679cc5deac9dcce1f36f72eede (patch)
treeed0f1e7b9d71c3f9228bbbf0f0e3ffd5d6754243 /appveyor.yml
parent12ceb036f826c4796a47397f0c24aa3bdcf4ed42 (diff)
First attempt at an Appveyor build configuration for MSVC.
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml43
1 files changed, 43 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 00000000..04169871
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,43 @@
+version: 1.0.{build}-{branch}
+
+clone_depth: 1
+
+# Do not build on tags (GitHub only)
+skip_tags: true
+
+os: Windows Server 2012
+
+platform:
+ - x86
+ - x64
+
+configuration:
+ - Debug
+ - Release
+
+environment:
+ - VisualStudioVersion: 10.0
+
+build:
+ parallel: true
+ project: infrastructure/msvc/2010/boxbackup.sln
+
+install:
+ - cinst: strawberryperl
+ - cinst: svn
+ - cinst: 7zip.commandline
+ - cd %APPVEYOR_BUILD_FOLDER%\..
+ - ps: (new-object net.webclient).DownloadFile('https://www.openssl.org/source/openssl-1.0.2d.tar.gz', 'openssl-1.0.2d.tar.gz')
+ - 7za x openssl-1.0.2d.tar.gz
+ - cd openssl-1.0.2d
+ - perl Configure debug-VC-WIN32 no-asm --prefix=%APPVEYOR_BUILD_FOLDER%\..\openssl
+ - ms\do_ms
+ - nmake -f ms\nt.mak
+ - nmake -f ms\nt.mak install
+ - cd %APPVEYOR_BUILD_FOLDER%\..
+ - ps: (new-object net.webclient).DownloadFile('http://zlib.net/zlib128-dll.zip', 'zlib128-dll.zip')
+ - 7za x zlib128-dll.zip
+
+test_script:
+ - perl runtest.pl
+