X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2ba53ecd17e4033957e34c4d1b367465ab66ff06..4d463ea908564e821bbfb88115c96df6673a2b2c:/appveyor.yml diff --git a/appveyor.yml b/appveyor.yml index 17f600135b..08666a982b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,41 +1,56 @@ # This file is intended to automatize the testing of SimGrid on # Windows using the appveyor.com continuous integration service -os: MinGW +os: Visual Studio 2015 version: "{build}" clone_depth: 1 -platform: - - Win32 # This is Windows 32bits (don't activate since we dont compile properly anyway) +# scripts that are called at very beginning, before repo cloning +init: +- cmake --version +- msbuild /version +- git config --global core.longpaths true +- git config --global core.autocrlf input + +#platform: +# - Win32 # This is Windows 32bits # - x64 # This is Windows 64bits environment: - BOOST_ROOT: c:\Libraries\boost - BOOST_LIBRARYDIR: c:\Libraries\boost\stage\lib - MSYS2_BASEVER: 20150512 - MSYS2_ARCH: x86_64 - + global: + BOOST_ROOT: c:\Libraries\boost_1_59_0 + BOOST_LIBRARYDIR: c:\Libraries\boost_1_59_0\stage\lib + # BOOST_ROOT: c:\Libraries\boost + # BOOST_LIBRARYDIR: c:\Libraries\boost\stage\lib + + matrix: + - COMPILER: MSVC15 + PLATFORM: Win32 + - COMPILER: MSVC15 + PLATFORM: x64 + - COMPILER: MSYS2 + install: -- appveyor DownloadFile "http://kent.dl.sourceforge.net/project/msys2/Base/%MSYS2_ARCH%/msys2-base-%MSYS2_ARCH%-%MSYS2_BASEVER%.tar.xz" -FileName "msys2.tar.xz" -- 7z x msys2.tar.xz -- 7z x msys2.tar > NUL -- msys64\usr\bin\bash -lc "" -- msys64\usr\bin\bash -lc "for i in {1..3}; do pacman --noconfirm -Suy gcc make cmake perl && break || sleep 15; done" -#- set PATH=C:\mingw64\bin;%PATH% -#- set CC=gcc +- if [%COMPILER%]==[MinGW] set PATH=C:\MinGW\bin;%PATH% +- if [%COMPILER%]==[MinGW-w64] set PATH=C:\mingw64\bin;%PATH% +- if [%COMPILER%]==[MSYS2] set PATH=C:\msys64\bin,%PATH% build_script: -- msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; PATH=$PATH:/mingw64/bin:/mingw32/bin; exec 0