-
Notifications
You must be signed in to change notification settings - Fork 5
/
.appveyor.yml
43 lines (35 loc) · 1.27 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
version: 1.0.{build}
clone_folder: c:\dev\xsens-mvn
environment:
YARP_DIR: c:/Program Files/robotology/yarp-2.3.68
EIGEN3_ROOT: c:/Program Files/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_amd64_1.exe','c:\dev\yarp.exe')
$dwntool.DownloadFile('https://github.com/robotology/ycm/releases/download/v0.2.2/YCM-0.2.2-win64.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\robotology"
build:
build_script:
- cd c:\dev\xsens-mvn\
- md build
- cd build
- cmake -G"Visual Studio 12 2013 Win64" ..
# - msbuild /m /p:Configuration=Release /p:Platform="Win32" HumanDynamicsEstimation.sln
- cmake --build . --config Release