X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2ba53ecd17e4033957e34c4d1b367465ab66ff06..3d845df082d79ab89649c1a8829eea201ae01085:/appveyor.yml diff --git a/appveyor.yml b/appveyor.yml index 17f600135b..68e80eed64 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,41 +1,39 @@ # 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 +# 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 (don't activate since we dont compile properly anyway) + - 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 - -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 - + build_script: -- msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; PATH=$PATH:/mingw64/bin:/mingw32/bin; exec 0