Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[appveyor] configuration file
[simgrid.git] / appveyor.yml
1 # This file is intended to automatize the testing of SimGrid on\r
2 # Windows using the appveyor.com continuous integration service\r
3 \r
4 version: "{build}"\r
5 clone_depth: 1\r
6 \r
7 platform: \r
8 #  - Win32 # This is Windows 32bits (don't activate since we dont compile properly anyway)\r
9   - x64   # This is Windows 64bits\r
10 \r
11 environment:\r
12   BOOST_ROOT: c:\Libraries\boost\r
13   BOOST_LIBRARYDIR: c:\Libraries\boost\stage\lib\r
14 \r
15 before_build:\r
16 - call "C:/Program Files (x86)/Microsoft Visual Studio 12.0/Common7/Tools/vsvars32.bat"\r
17 - cd c:\projects\simgrid\r
18 - cmake -G "Visual Studio 12 2013" -DBOOST_ROOT="%BOOST_ROOT%" -DBOOST_LIBRARYDIR="%BOOST_LIBRARYDIR%" -DBoost_USE_STATIC_LIBS="ON" -Denable_debug=ON -Denable_documentation=OFF -Denable_coverage=OFF -Denable_tracing=ON -Denable_java=ON .\r
19 - dir c:\projects\simgrid\r
20 - cmake --build . # be brutal: cmake is my only friend in this windows world.\r
21 \r
22 # build:\r
23 #  project: C:\projects\simgrid\SimGrid.sln # Cant get it working\r
24 #  \r
25 #  # MSBuild verbosity level (quiet|minimal|normal|detailed)\r
26 #  verbosity: detailed\r
27   \r
28 test_script:\r
29   cmd: ctest -VV\r
30 \r
31 # notifications:\r
32 # - irc: "irc.debian.org#simgrid" # Not implemented by AppVeyor yet :(\r
33 # Some source of inspiration:\r
34 # https://github.com/dartsim/dart/blob/master/appveyor.yml\r
35 # https://github.com/osmcode/libosmium/blob/master/appveyor.yml\r
36 # https://github.com/polysquare/cmake-unit/blob/master/appveyor.yml