-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathappveyor.yml
More file actions
53 lines (45 loc) · 1.56 KB
/
appveyor.yml
File metadata and controls
53 lines (45 loc) · 1.56 KB
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
# Operating system (build VM template)
os: Visual Studio 2017
platform:
# x64
- Win32
#configuration: Release
# enable rdp
#init:
# - ps: "iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))"
#on_finish:
# - ps: "$blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))"
#environment:
# BOOST_ROOT: "C:\\Libraries\\boost_1_64_0"
# BOOST_LIBRARYDIR: "C:\\Libraries\\boost_1_64_0\\lib32-msvc-15.0"
before_build:
- cmake --version
#- echo %BOOST_ROOT%
#- dir "C:\Libraries"
#- dir "%BOOST_ROOT%"
- cmd: set PATH=%PATH%;%PYTHON%/Scripts/
- cmd: pip.exe install conan
- cmd: conan --version
- ps: wget 'https://github.com/MSOpenTech/redis/releases/download/win-3.0.504/Redis-x64-3.0.504.zip' -OutFile "Redis-x64-3.0.504.zip"
- '@ECHO redis downloaded deployed'
- dir
- 7z x Redis-x64-3.0.504.zip
- dir
# redis
- set PATH=%APPVEYOR_BUILD_FOLDER%;%PATH%
# boost
# - set PATH=%BOOST_ROOT%\lib64-msvc-14.1;%PATH%
- echo %PATH%
build_script:
- cmd: mkdir build
- cmd: cd build
- cmd: conan install .. --build missing -o boost:shared=True -o boost:without_filesystem=False
- cmd: cmake ../ -G "Visual Studio 15 2017 Win64"
- cmd: cmake --build . --config Release
test_script:
# - ps: cd builds
- dir
# copy boost dlls into bin folder
- conan imports ..
- cmd: cp ../redis-server.exe bin
- ctest -VV -C "%CONFIG%"