Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[Doc] Removed links for 'As' in text..
[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: MinGW
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   MSYS2_BASEVER: 20150512
16   MSYS2_ARCH: x86_64
17
18 install:
19 - appveyor DownloadFile "http://kent.dl.sourceforge.net/project/msys2/Base/%MSYS2_ARCH%/msys2-base-%MSYS2_ARCH%-%MSYS2_BASEVER%.tar.xz" -FileName "msys2.tar.xz"
20 - 7z x msys2.tar.xz
21 - 7z x msys2.tar > NUL
22 - msys64\usr\bin\bash -lc ""
23 - msys64\usr\bin\bash -lc "for i in {1..3}; do pacman --noconfirm -Suy gcc make cmake perl && break || sleep 15; done" 
24 #- set PATH=C:\mingw64\bin;%PATH%
25 #- set CC=gcc
26
27 build_script:
28 - msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; PATH=$PATH:/mingw64/bin:/mingw32/bin; cmake -G \"MSYS Makefiles\" -DBOOST_ROOT=\"%BOOST_ROOT%\" -DBOOST_LIBRARYDIR=\"%BOOST_LIBRARYDIR%\" -DBoost_USE_STATIC_LIBS=ON -Denable_debug=ON -Denable_documentation=OFF -Denable_coverage=OFF -Denable_tracing=ON -Denable_java=OFF -Denable_model-checking=OFF ."
29 - msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; echo XXX simgrid_config.h; cat include/simgrid_config.h"
30 - msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; echo XXX src/internal_config.h; cat src/internal_config.h"
31 - msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; PATH=$PATH:/mingw64/bin:/mingw32/bin; make VERBOSE=1"
32
33 test_script:
34 - msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; PATH=$PATH:/mingw64/bin:/mingw32/bin; ctest -VV"
35
36 # notifications:
37 # - irc: "irc.debian.org#simgrid" # Not implemented by AppVeyor yet :(
38 # Some source of inspiration:
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
43
44 # https://github.com/behdad/harfbuzz/pull/112/files