Skip to content

Commit 4466b72

Browse files
committed
[ci] Add appveyor.yml (WIP)
1 parent fdc20ea commit 4466b72

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

appveyor.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
version: 3.2-{branch}-{build}
2+
branches:
3+
only:
4+
- master
5+
- dev
6+
7+
configuration:
8+
- Debug
9+
10+
platform:
11+
- x64
12+
13+
# Disable automatic builds for now
14+
build: off
15+
16+
os: Visual Studio 2015
17+
clone_folder: C:\devel-src\roboptim-core-plugin-ipopt
18+
environment:
19+
CI_OS_NAME: win32
20+
CI_TOOL: appveyor
21+
# Dependencies should be a list of dependencies separated by spaces
22+
CHOCO_DEPENDENCIES: "doxygen.portable"
23+
GIT_DEPENDENCIES: "gergondet/ltdl-win32 roboptim/roboptim-core"
24+
# Should be the same as clone_folder
25+
PROJECT_SOURCE_DIR: C:\devel-src\roboptim-core-plugin-ipopt
26+
# Do not tinker with the variables below unless you know what you are doing
27+
SOURCE_FOLDER: C:\devel-src
28+
CMAKE_INSTALL_PREFIX: C:/devel
29+
PATH: C:/devel/bin;C:\Libraries\boost_1_60_0\lib64-msvc-14.0;C:\msys64\mingw64\bin;%PATH%
30+
PKG_CONFIG_PATH: C:/devel/lib/pkgconfig
31+
BOOST_ROOT: C:\Libraries\boost_1_60_0
32+
BOOST_LIBRARYDIR: C:\Libraries\boost_1_60_0\lib64-msvc-14.0
33+
MINGW_GFORTRAN: C:\msys64\mingw64\bin\gfortran.exe
34+
# N.B: empty lines here and in test_script are VERY important
35+
build_script:
36+
- ps: >-
37+
Set-PSDebug -Trace 2
38+
39+
iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aescande/testAppveyor/master/installAsAppveyorDependency.ps1'))
40+
41+
git submodule update --init --recursive
42+
43+
. ./.travis/functions.ps1
44+
45+
setup_build
46+
47+
./.travis/dependencies/eigen-3.2.ps1
48+
49+
install_dependencies
50+
51+
build_project
52+
test_script:
53+
- cmd: >-
54+
cd %PROJECT_SOURCE_DIR%/build
55+
56+
ctest --build-config %CONFIGURATION% --exclude-regex example

0 commit comments

Comments
 (0)