forked from alanxz/rabbitmq-c
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
37 lines (31 loc) · 1000 Bytes
/
appveyor.yml
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
# appveyor configuration
version: '{build}'
# Limit history cloned. This matches what travis-CI currently does.
clone_depth: 50
environment:
matrix:
- GENERATOR: Visual Studio 12 Win64
BITS: 64
- GENERATOR: Visual Studio 12
BITS: 32
cache:
- c:\deps -> appveyor.yml
install:
- ps: $file = "Win${env:BITS}OpenSSL-1_0_2f.exe"
- ps: $dir = "c:\deps"
- ps: $exists = Test-Path "$dir\$file"
- ps: >-
If ($exists -ne $True) {
Write-Host "Downloading: $dir\$file."
New-Item -Path $dir -type directory -force
Start-FileDownload "http://slproweb.com/download/$file" -FileName "$dir\$file"
} Else {
Write-Host "Reusing cached: $dir\$file."
}
- ps: >-
& "$dir\$file" /silent /verysilent /sp- /suppressmsgboxes /dir="c:\OpenSSL"
before_build:
- cmake -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=ON -DBUILD_TESTS=ON -DENABLE_SSL_SUPPORT=True -G"%GENERATOR%" .
build:
project: ALL_BUILD.vcxproj
verbosity: normal