blob: 835f832ff5cb8e70a93cf8df7cd4c9aaaaeef662 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
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
- Win32
configuration:
- Debug
- Release
environment:
VisualStudioVersion: 10.0
cache:
- '%APPVEYOR_BUILD_FOLDER%\..\openssl-1.0.2d'
- '%APPVEYOR_BUILD_FOLDER%\..\openssl-%PLATFORM%'
- '%APPVEYOR_BUILD_FOLDER%\..\pcre-8.38'
- '%APPVEYOR_BUILD_FOLDER%\..\pcre-%PLATFORM%'
- '%APPVEYOR_BUILD_FOLDER%\%PLATFORM%'
build:
parallel: true
project: infrastructure/msvc/2010/boxbackup.sln
install:
- cinst strawberryperl
- cinst 7zip.commandline
- dir "C:\Program Files\Microsoft SDKs\Windows"
- dir "C:\Program Files\Microsoft SDKs\Windows\v7.1"
- dir "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin"
- '"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x86'
- cd %APPVEYOR_BUILD_FOLDER%\..
- ps: "[Net.ServicePointManager]::SecurityProtocol = 'Tls12'"
- ps: Start-FileDownload 'https://www.openssl.org/source/openssl-1.0.2d.tar.gz'
- 7za x openssl-1.0.2d.tar.gz
- 7za x openssl-1.0.2d.tar
- cd openssl-1.0.2d
- perl Configure debug-VC-WIN32 no-asm --prefix=%APPVEYOR_BUILD_FOLDER%\..\openssl-%PLATFORM%
- ms\do_ms
- nmake /s /f ms\nt.mak
- nmake /s /f ms\nt.mak install
- cd %APPVEYOR_BUILD_FOLDER%\..
- ps: Start-FileDownload 'http://zlib.net/zlib128-dll.zip'
- mkdir %APPVEYOR_BUILD_FOLDER%\..\zlib
- cd %APPVEYOR_BUILD_FOLDER%\..\zlib
- 7za x %APPVEYOR_BUILD_FOLDER%\..\zlib128-dll.zip
- cd %APPVEYOR_BUILD_FOLDER%\..
- cinst cmake
- ps: Start-FileDownload 'ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.38.zip'
- 7za x pcre-8.38.zip
- cd %APPVEYOR_BUILD_FOLDER%\..
- cd pcre-8.38
- cmake . -G "Visual Studio 10" -A %PLATFORM% -DCMAKE_INSTALL_PREFIX="%APPVEYOR_BUILD_FOLDER%\..\pcre-%PLATFORM%"
- dir
- msbuild INSTALL.vcxproj /m /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- cd %APPVEYOR_BUILD_FOLDER%\..
- dir
- dir pcre-%PLATFORM%
- cd %APPVEYOR_BUILD_FOLDER%
- dir
- cd infrastructure\msvc
- win32.bat
- cd %APPVEYOR_BUILD_FOLDER%
test_script:
- perl runtest.pl
|