forked from robotology/human-dynamics-estimation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
57 lines (47 loc) · 2.02 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
version: 1.0.{build}
clone_folder: c:\dev\human-dynamics-estimation
environment:
YARP_DIR: c:/Program Files (x86)/robotology/yarp-2.3.68
YARP_experimental_DIR: c:/Program Files (x86)/xsens-mvn
EIGEN3_ROOT: c:/Program Files (x86)/robotology/eigen-3.3.0
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.68/yarp_2.3.68_v12_x86_1.exe','c:\dev\yarp.exe')
$dwntool.DownloadFile('https://github.com/robotology/ycm/releases/download/v0.2.2/YCM-0.2.2-win32.msi','c:\dev\ycm.msi')
$Stoploop = $true
}
catch {
Start-Sleep -Seconds 15
}
}
While ($Stoploop -eq $false)
- cmd: start "" /WAIT "c:\dev\yarp.exe" /S
- cmd: timeout 10
- cmd: msiexec.exe /i "c:\dev\ycm.msi" /quiet
- cmd: timeout 10
- cmd: dir "c:\Program Files (x86)\robotology"
- cmd: git clone https://github.com/robotology/idyntree.git c:\dev\idyntree
- cmd: cd c:\dev\idyntree
- cmd: md build
- cmd: cd build
- cmd: cmake -G"Visual Studio 12" -DIDYNTREE_USES_KDL=OFF -DIDYNTREE_USES_YARP=ON -DIDYNTREE_USES_ICUB_MAIN=OFF ..
- cmd: msbuild /m /p:Configuration=Release /p:Platform="Win32" INSTALL.vcxproj
- cmd: git clone https://github.com/robotology-playground/xsens-mvn c:\dev\xsens-mvn
- cmd: cd c:\dev\xsens-mvn
- cmd: md build
- cmd: cd build
- cmd: cmake -G"Visual Studio 12" -DENABLE_xsens_mvn=OFF -DENABLE_xsens_mvn_wrapper=OFF -DENABLE_xsens_mvn_remote=OFF ..
- cmd: msbuild /m /p:Configuration=Release /p:Platform="Win32" INSTALL.vcxproj
build:
build_script:
- cd c:\dev\human-dynamics-estimation\
- md build
- cd build
- cmake -G"Visual Studio 12" ..
- msbuild /m /p:Configuration=Release /p:Platform="Win32" HumanDynamicsEstimation.sln