This repository has been archived by the owner on Sep 24, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
.appveyor.yml
77 lines (64 loc) · 2.51 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
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
76
77
version: 1.0.{build}
branches:
only:
- master
- devel
clone_folder: c:\dev\wysiwyd
environment:
ACE_ROOT: c:/Program Files (x86)/robotology/ace-6.3.4_v12_x86
GSL_DIR: c:/Program Files (x86)/robotology/gsl-1.14
IPOPT_DIR: c:/Program Files (x86)/robotology/ipopt-3.11.7
OpenCV_DIR: c:/Program Files (x86)/robotology/opencv-2.4.9
Qt5_DIR: c:/Program Files (x86)/robotology/Qt-5.4.1_v12_x86
YARP_DIR: c:/Program Files (x86)/robotology/yarp-2.3.66
ICUB_DIR: c:/Program Files (x86)/robotology/icub-1.4.0
ICUBcontrib_DIR: c:/iCubContrib
CMAKE_PREFIX_PATH: c:/iCubContrib
install:
# to install unzipper do: "cinst 7zip.commandline -x86"
# the format is: "7z x c:\path-to-archive\archive.zip -oc:\path-where-unzip -y > nul"
- ps: >-
$dwntool = New-Object System.Net.WebClient
$Stoploop = $false
do {
try {
$dwntool.DownloadFile('https://github.com/robotology/yarp/releases/download/v2.3.66/yarp_2.3.66_v12_x86_1.exe','c:\dev\yarp.exe')
$dwntool.DownloadFile('https://github.com/robotology/icub-main/releases/download/v1.4.0/iCub_1.4.0_v12_x86_1.exe','c:\dev\icub.exe')
$Stoploop = $true
}
catch {
Start-Sleep -Seconds 15
}
}
While ($Stoploop -eq $false)
- cmd: start "" /WAIT "c:\dev\yarp.exe" /S
- cmd: timeout 10
- cmd: start "" /WAIT "c:\dev\icub.exe" /S
- cmd: timeout 10
- cmd: dir "c:\Program Files (x86)\robotology"
- cmd: git clone https://github.com/robotology/icub-contrib-common.git c:\dev\icub-contrib-common
- cmd: cd c:\dev\icub-contrib-common
- cmd: md build
- cmd: cd build
- cmd: cmake -DCMAKE_INSTALL_PREFIX=c:/iCubContrib -G"Visual Studio 12" ..
- cmd: msbuild /m /p:Configuration=Release /p:Platform="Win32" INSTALL.vcxproj
- cmd: git clone https://github.com/robotology/kinect-wrapper.git c:\dev\kinect-wrapper
- cmd: cd c:\dev\kinect-wrapper
- cmd: md build
- cmd: cd build
- cmd: cmake -G"Visual Studio 12" ..
- cmd: msbuild /m /p:Configuration=Release /p:Platform="Win32" INSTALL.vcxproj
build:
build_script:
- cd c:\dev\wysiwyd\main
- md build
- cd build
- cmake -G"Visual Studio 12" -DWYSIWYD_BUILD_IOL2OPC=FALSE -DCOMPILE_TESTS=TRUE ..
- msbuild /m /p:Configuration=Release /p:Platform="Win32" wysiwyd.sln
notifications:
- provider: Email
to:
on_build_success: false
on_build_failure: false
on_build_status_changed: true