-
Notifications
You must be signed in to change notification settings - Fork 36
/
appveyor.yml
47 lines (38 loc) · 1.25 KB
/
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
38
39
40
41
42
43
44
45
46
# Operating system (build VM template)
os: Visual Studio 2019
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_77_0"
# BOOST_LIBRARYDIR: "C:\\Libraries\\boost_1_64_0\\lib32-msvc-15.0"
before_build:
- cmake --version
- cmake --help
- echo %BOOST_ROOT%
- dir "C:\Libraries"
- dir "%BOOST_ROOT%"
- 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.2;%PATH%
- echo %PATH%
build_script:
# - pause
- cmake -H. -B_builds -DBOOST_ROOT="%BOOST_ROOT%"
# -DBOOST_LIBRARYDIR="%BOOST_LIBRARYDIR%"
- cmake --build _builds
test_script:
- ps: cd _builds
- ctest -VV -C "%CONFIG%"