-
Notifications
You must be signed in to change notification settings - Fork 123
/
Copy pathappveyor.yml
43 lines (38 loc) · 1.05 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:\projects\osqp-eigen
environment:
Eigen3_DIR: C:/Program Files (x86)/Eigen/lib/cmake/eigen3/
os:
- Visual Studio 2015
- Visual Studio 2017
install:
# Check env variables
- cmd: echo CMAKE_PREFIX_PATH %CMAKE_PREFIX_PATH%
- cmd: echo PATH %PATH%
build:
build_script:
# download and build osqp
- cd c:\projects
- git clone --recursive --depth 1 https://github.com/oxfordcontrol/osqp.git
- cd osqp
- md build
- cd build
- cmake ..
- cmake --build . --config Release
- cmake --build . --config Release --target INSTALL
# download and install eigen3
- cd c:\projects
- hg clone https://bitbucket.org/eigen/eigen
- cd eigen
- hg checkout 3.3-beta2
- md build
- cd build
- cmake ..
- cmake --build . --config Release --target INSTALL
# compile osqp-eigen
- cd c:\projects\osqp-eigen
- md build
- cd build
- cmake .. -DEIGEN3_INCLUDE_DIR="C:/Program Files (x86)/Eigen/include/eigen3"
- cmake --build . --config Release
- cmake --build . --config Release --target INSTALL