1 # This file is intended to automatize the testing of SimGrid on
2 # Windows using the appveyor.com continuous integration service
8 # scripts that are called at very beginning, before repo cloning
12 - git config --global core.longpaths true
13 - git config --global core.autocrlf input
16 - Win32 # This is Windows 32bits
17 # - x64 # This is Windows 64bits
20 BOOST_ROOT: c:\Libraries\boost
21 BOOST_LIBRARYDIR: c:\Libraries\boost\stage\lib
23 # -DCMAKE_CXX_FLAGS_RELEASE="/MT /W1 /O2 /Ob2 /D NDEBUG" -DCMAKE_CXX_FLAGS_DEBUG="/D_DEBUG /MTd /Zi /Ob0 /Od /RTC1 /W1"
24 # -DCMAKE_CXX_FLAGS_RELEASE="/MT /W1 /O2 /Ob2 /D NDEBUG" -DCMAKE_CXX_FLAGS_DEBUG="/D_DEBUG /MTd /Zi /Ob0 /Od /RTC1 /W1"
26 - if [%PLATFORM%]==[Win32] cmake -G "Visual Studio 14 2015" .
27 - if [%PLATFORM%]==[x64] cmake -G "Visual Studio 14 2015 Win64" .
28 - msbuild ALL_BUILD.vcxproj /verbosity:normal
31 - ctest --output-on-failure
34 # - irc: "irc.debian.org#simgrid" # Not implemented by AppVeyor yet :(
35 # Some source of inspiration:
37 # https://github.com/sympy/symengine/blob/master/appveyor.yml <- MS, mingw & mingw64
39 # https://github.com/dartsim/dart/blob/master/appveyor.yml
40 # https://github.com/osmcode/libosmium/blob/master/appveyor.yml
41 # https://github.com/polysquare/cmake-unit/blob/master/appveyor.yml
42 # https://github.com/openvswitch/ovs/blob/master/appveyor.yml
44 # https://github.com/behdad/harfbuzz/pull/112/files