This repository has been archived by the owner on Apr 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
/
appveyor.yml
73 lines (59 loc) · 2.42 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
version: 1.0.{build}
os: unstable
branches:
except:
- travis
clone_folder: c:\dev\codyco-superbuild
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
BOOST_ROOT: C:\Libraries\boost
BOOST_LIBRARYDIR: C:\Libraries\boost\lib32-msvc-12.0
EIGEN3_ROOT: C:\dev\Eigen3\include\eigen3
install:
- 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: if not exist c:\dev\Eigen3\include\eigen3\Eigen\Core (
curl -L -o eigen-eigen-dc6cfdf9bcec.tar.gz https://bitbucket.org/eigen/eigen/get/3.2.9.tar.gz &&
cmake -E tar zxf eigen-eigen-dc6cfdf9bcec.tar.gz &&
cd eigen-eigen-dc6cfdf9bcec &&
mkdir build &&
cd build &&
cmake -G "Visual Studio 12" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="c:\dev\Eigen3" .. &&
cmake --build . --target install --config Debug &&
cd ..\..
) else (echo Using cached Eigen3)
build:
build_script:
- cd c:\dev\codyco-superbuild
- dir "c:\dev\codyco-superbuild"
- md build
- cd build
- cmake -G"Visual Studio 12" -DNON_INTERACTIVE_BUILD:BOOL=TRUE -DYCM_BOOTSTRAP_VERBOSE:BOOL=TRUE ..
- cmake --build . --target ALL_UPDATE
- msbuild /m /p:Configuration=Release /p:Platform="Win32" codyco-superbuild.sln
notifications:
email: