-
Notifications
You must be signed in to change notification settings - Fork 81
/
Copy pathappveyor.yml
22 lines (20 loc) · 920 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
clone_folder: C:\projects\libcmaes
environment:
matrix:
- CMAKE_PLATFORM: "Visual Studio 14 2015"
- CMAKE_PLATFORM: "Visual Studio 14 2015 Win64"
install:
- cinstall: python
- appveyor-retry appveyor DownloadFile https://bitbucket.org/eigen/eigen/get/3.3.4.tar.gz
- 7z x 3.3.4.tar.gz -oc:\projects > nul
- 7z x c:\projects\3.3.4.tar -oc:\projects > nul
- cd c:\projects\eigen-eigen-5a0156e40feb
- mkdir build && cd build
- cmake -G "%CMAKE_PLATFORM%" -DCMAKE_INSTALL_PREFIX=c:\Libraries\eigen -DCMAKE_BUILD_TYPE=Release ..
- cmake --build . --config Release --target install
build_script:
- cd c:\projects\libcmaes
- mkdir build && cd build
- cmake -G "%CMAKE_PLATFORM%" -DCMAKE_INSTALL_PREFIX=c:\Libraries\libcmaes -DEigen3_DIR=c:\Libraries\eigen\share\eigen3\cmake -DBOOST_ROOT="C:/Libraries/boost_1_63_0" ..
- cmake --build . --config Release --target install
- ctest -C Release