Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[appveyor] let's try MSVC
[simgrid.git] / appveyor.yml
1 # This file is intended to automatize the testing of SimGrid on
2 # Windows using the appveyor.com continuous integration service
3
4 os: Visual Studio 2015
5 version: "{build}"
6 clone_depth: 1
7
8 platform: 
9   - Win32 # This is Windows 32bits (don't activate since we dont compile properly anyway)
10 #  - x64   # This is Windows 64bits
11
12 environment:
13   BOOST_ROOT: c:\Libraries\boost
14   BOOST_LIBRARYDIR: c:\Libraries\boost\stage\lib
15
16 build_script:
17 - if [%PLATFORM%]==[Win32] cmake -G "Visual Studio 14 2015"  -DCMAKE_CXX_FLAGS_RELEASE="/MT /W1 /O2 /Ob2 /D NDEBUG" -DCMAKE_CXX_FLAGS_DEBUG="/D_DEBUG /MTd /Zi /Ob0 /Od /RTC1 /W1" .
18 - if [%PLATFORM%]==[x64] cmake -G "Visual Studio 14 2015 Win64"  -DCMAKE_CXX_FLAGS_RELEASE="/MT /W1 /O2 /Ob2 /D NDEBUG" -DCMAKE_CXX_FLAGS_DEBUG="/D_DEBUG /MTd /Zi /Ob0 /Od /RTC1 /W1" .
19 - msbuild ALL_BUILD.vcxproj /verbosity:normal
20
21 test_script:
22 - ctest --output-on-failure
23
24 # notifications:
25 # - irc: "irc.debian.org#simgrid" # Not implemented by AppVeyor yet :(
26 # Some source of inspiration:
27
28 # https://github.com/sympy/symengine/blob/master/appveyor.yml <- MS, mingw & mingw64
29
30 # https://github.com/dartsim/dart/blob/master/appveyor.yml
31 # https://github.com/osmcode/libosmium/blob/master/appveyor.yml
32 # https://github.com/polysquare/cmake-unit/blob/master/appveyor.yml
33 # https://github.com/openvswitch/ovs/blob/master/appveyor.yml
34
35 # https://github.com/behdad/harfbuzz/pull/112/files