Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
regenerate maintainer-mode files
[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 # scripts that are called at very beginning, before repo cloning
9 init:
10 - cmake --version
11 - msbuild /version
12 - git config --global core.longpaths true
13 - git config --global core.autocrlf input
14
15 platform: 
16   - Win32 # This is Windows 32bits
17 #  - x64   # This is Windows 64bits
18
19 environment:
20   BOOST_ROOT: c:\Libraries\boost
21   BOOST_LIBRARYDIR: c:\Libraries\boost\stage\lib
22   
23 build_script:
24 - if [%PLATFORM%]==[Win32] cmake -G "Visual Studio 14 2015" -Denable_smpi=OFF .
25 - if [%PLATFORM%]==[x64] cmake -G "Visual Studio 14 2015 Win64" -Denable_smpi=OFF .
26 - msbuild ALL_BUILD.vcxproj /verbosity:normal
27
28 test_script:
29 - ctest --output-on-failure
30
31 # notifications:
32 # - irc: "irc.debian.org#simgrid" # Not implemented by AppVeyor yet :(
33 # Some source of inspiration:
34
35 # https://github.com/sympy/symengine/blob/master/appveyor.yml <- MS, mingw & mingw64
36
37 # https://github.com/dartsim/dart/blob/master/appveyor.yml
38 # https://github.com/osmcode/libosmium/blob/master/appveyor.yml
39 # https://github.com/polysquare/cmake-unit/blob/master/appveyor.yml
40 # https://github.com/openvswitch/ovs/blob/master/appveyor.yml
41
42 # https://github.com/behdad/harfbuzz/pull/112/files