-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from GiulioRomualdi/ci/appveyor
Add Windows CI system
- Loading branch information
Showing
2 changed files
with
47 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 |