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
17 BOOST_ROOT: c:\Libraries\boost_1_59_0
18 BOOST_LIBRARYDIR: c:\Libraries\boost_1_59_0\stage\lib
19 # BOOST_ROOT: c:\Libraries\boost
20 # BOOST_LIBRARYDIR: c:\Libraries\boost\stage\lib
31 - if [%COMPILER%]==[MinGW] set PATH=C:\MinGW\bin;%PATH%
32 - if [%COMPILER%]==[MinGW-w64] set PATH=C:\mingw64\bin;%PATH%
33 - if [%COMPILER%]==[MinGW-w64] rename "C:\Program Files (x86)\Git\bin\sh.exe" "sh2.exe"
34 - if [%COMPILER%]==[MSYS2] set PATH=C:\msys64\bin,%PATH%
37 - if [%COMPILER%]==[MSVC15] if [%PLATFORM%]==[Win32] cmake -G "Visual Studio 14 2015" -Denable_smpi=OFF -Denable_mallocators=OFF .
38 - if [%COMPILER%]==[MSVC15] if [%PLATFORM%]==[x64] cmake -G "Visual Studio 14 2015 Win64" -Denable_smpi=OFF -Denable_mallocators=OFF .
39 - if not [%COMPILER%]==[MSVC15] cmake -G "MinGW Makefiles" -Denable_smpi=OFF -Denable_mallocators=OFF .
40 - if [%COMPILER%]==[MSVC15] msbuild ALL_BUILD.vcxproj /verbosity:normal
41 - if not [%COMPILER%]==[MSVC15] mingw32-make && mingw32-make install
44 - ctest --output-on-failure
47 # - irc: "irc.debian.org#simgrid" # Not implemented by AppVeyor yet :(
48 # Some source of inspiration:
50 # https://github.com/sympy/symengine/blob/master/appveyor.yml <- MS, mingw & mingw64
52 # https://github.com/dartsim/dart/blob/master/appveyor.yml
53 # https://github.com/osmcode/libosmium/blob/master/appveyor.yml
54 # https://github.com/polysquare/cmake-unit/blob/master/appveyor.yml
55 # https://github.com/openvswitch/ovs/blob/master/appveyor.yml
57 # https://github.com/behdad/harfbuzz/pull/112/files