1 # This file is intended to automatize the testing of SimGrid on
2 # Windows using the appveyor.com continuous integration service
9 - Win32 # This is Windows 32bits (don't activate since we dont compile properly anyway)
10 # - x64 # This is Windows 64bits
13 BOOST_ROOT: c:\Libraries\boost
14 BOOST_LIBRARYDIR: c:\Libraries\boost\stage\lib
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
22 - ctest --output-on-failure
25 # - irc: "irc.debian.org#simgrid" # Not implemented by AppVeyor yet :(
26 # Some source of inspiration:
28 # https://github.com/sympy/symengine/blob/master/appveyor.yml <- MS, mingw & mingw64
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
35 # https://github.com/behdad/harfbuzz/pull/112/files