# This file automatize the testing of SimGrid on Windows using the appveyor.com continuous integration service
#
-# Build logs: https://ci.appveyor.com/project/mquinson/simgrid
+# Build logs: https://ci.appveyor.com/project/simgrid/simgrid
os: Visual Studio 2015
version: "{build}"
# Strawberry perl is the one to work with gcc
- choco install --limit-output strawberryperl -version 5.20.1.1
- SET PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
-- cpanm --notest --quiet Win32API::File
-- cpanm --notest --quiet IPC::Run
# Lua
#- choco install lua53
# Basic dependencies: gcc and Cmake (must be placed before Perl in the path)
- rename "C:\Program Files\Git\usr\bin\sh.exe" "sh-ignored.exe"
build_script:
+- SET CFLAGS=-Wno-deprecated-declarations # ignore C:/Libraries/boost_1_59_0/boost/smart_ptr/shared_ptr.hpp:461:22: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
+- SET CPPFLAGS=-Wno-deprecated-declarations # ignore issues within boost
- cmake -G "MinGW Makefiles" -Denable_lua=OFF -Denable_java=ON -Denable_smpi=OFF -Denable_mallocators=OFF -Denable_lto=OFF .
- C:\tools\mingw64\bin\mingw32-make.exe VERBOSE=1
- cd C:/projects/simgrid/examples/java && java -classpath ".;../../simgrid.jar" masterslave.Masterslave ../platforms/platform.xml masterslave/masterslaveDeployment.xml || true