-
Notifications
You must be signed in to change notification settings - Fork 2
/
.appveyor.yml
88 lines (73 loc) · 3.44 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
78
79
80
81
82
83
84
85
86
87
88
version: 1.0.{build}
platform:
- x64
branches:
only:
- master
image: Visual Studio 2019
clone_folder: c:\robotology\icub-hri
environment:
ICUBcontrib_DIR: c:/iCubContrib
CMAKE_PREFIX_PATH: c:/iCubContrib
install:
- cmd: dir "C:\Program Files (x86)\"
- cmd: dir "C:\Program Files\"
# - call "C:\Program Files (x86)\Microsoft Visual Studio 16.0\VC\vcvarsall.bat" x86_amd64
- cmd: appveyor DownloadFile "https://github.com/robotology-playground/robotology-superbuild-dependencies/releases/download/v0.0.3/vcpkg-robotology.zip" -FileName "c:\robotology\vcpkg-robotology.zip"
- cmd: cd c:\robotology
- cmd: 7z x vcpkg-robotology.zip -oc:\robotology\vcpkg-robology
- cmd: dir c:\robotology
# ycm
- cmd: git clone https://github.com/robotology/ycm.git c:\robotology\ycm --depth 1 --branch master
- cmd: cd c:\robotology\ycm
- cmd: md build
- cmd: cd build
- cmd: cmake -A x64 -DCMAKE_TOOLCHAIN_FILE=c:/robotology/vcpkg-robology/scripts/buildsystems/vcpkg.cmake -G"Visual Studio 16 2019" ..
- cmd: msbuild /m /p:Configuration=Release /p:Platform="x64" INSTALL.vcxproj
# yarp
- cmd: git clone https://github.com/robotology/yarp.git c:\robotology\yarp --depth 1 --branch master
- cmd: cd c:\robotology\yarp
- cmd: md build
- cmd: cd build
- cmd: cmake -A x64 -DCMAKE_TOOLCHAIN_FILE=c:/robotology/vcpkg-robology/scripts/buildsystems/vcpkg.cmake -G"Visual Studio 16 2019" ..
- cmd: msbuild /m /p:Configuration=Release /p:Platform="x64" INSTALL.vcxproj
# icub-main
- cmd: git clone https://github.com/robotology/icub-main.git c:\robotology\icub-main --depth 1 --branch master
- cmd: cd c:\robotology\icub-main
- cmd: md build
- cmd: cd build
- cmd: cmake -A x64 -DCMAKE_TOOLCHAIN_FILE=c:/robotology/vcpkg-robology/scripts/buildsystems/vcpkg.cmake -G"Visual Studio 16 2019" ..
- cmd: msbuild /m /p:Configuration=Release /p:Platform="x64" INSTALL.vcxproj
# icub-contrib-common
- cmd: git clone https://github.com/robotology/icub-contrib-common.git c:\robotology\icub-contrib-common --depth 1 --branch master
- cmd: cd c:\robotology\icub-contrib-common
- cmd: md build
- cmd: cd build
- cmd: cmake -A x64 -DCMAKE_TOOLCHAIN_FILE=c:/robotology/vcpkg-robology/scripts/buildsystems/vcpkg.cmake -DCMAKE_INSTALL_PREFIX=c:/iCubContrib -G"Visual Studio 16 2019" ..
- cmd: msbuild /m /p:Configuration=Release /p:Platform="x64" INSTALL.vcxproj
# kinect-wrapper
- cmd: git clone https://github.com/robotology/kinect-wrapper.git c:\robotology\kinect-wrapper --depth 1 --branch master
- cmd: cd c:\robotology\kinect-wrapper
- cmd: md build
- cmd: cd build
- cmd: cmake -A x64 -DCMAKE_TOOLCHAIN_FILE=c:/robotology/vcpkg-robology/scripts/buildsystems/vcpkg.cmake -G"Visual Studio 16 2019" ..
- cmd: msbuild /m /p:Configuration=Release /p:Platform="x64" INSTALL.vcxproj
build:
build_script:
- cd c:\robotology\icub-hri\
- md build
- cd build
- cmake -A x64 -DCMAKE_TOOLCHAIN_FILE=c:/robotology/vcpkg-robology/scripts/buildsystems/vcpkg.cmake -G"Visual Studio 16 2019" -DICUBCLIENT_COMPILE_TESTS=TRUE -DICUBCLIENT_BUILD_IOL2OPC=FALSE ..
- msbuild /m /p:Configuration=Release /p:Platform="x64" icubclient.sln
notifications:
- provider: Email
to:
on_build_success: false
on_build_failure: false
on_build_status_changed: true