forked from esa/pagmo2
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
31 lines (25 loc) · 1.16 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
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
BUILD_TYPE: "MSVC_2017"
install:
- set PATH=C:\Miniconda37-x64\Scripts;%PATH%
- conda config --add channels conda-forge --force
- conda update --all -y
- conda create -y --name pagmo python=3.7 cmake boost-cpp eigen nlopt tbb tbb-devel ipopt
- call activate pagmo
build_script:
- mkdir build
- cd build
- cmake -G "Visual Studio 15 2017 Win64" -DBoost_NO_BOOST_CMAKE=ON -DCMAKE_INSTALL_PREFIX=%CONDA_PREFIX%/Library -DPAGMO_BUILD_TESTS=YES -DPAGMO_BUILD_TUTORIALS=YES -DPAGMO_WITH_EIGEN3=yes -DPAGMO_WITH_NLOPT=yes -DPAGMO_WITH_IPOPT=yes -DPAGMO_ENABLE_IPO=yes ..
- cmake --build . --config Release --target install
test_script:
- ctest -VV --output-on-failure
notifications:
- provider: Webhook
url: https://webhooks.gitter.im/e/1a3742192bd3f7e6d8e2
# Enable this to be able to login to the build worker. You can use the
# `remmina` program in Ubuntu, use the login information that the line below
# prints into the log.
# on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))