From 6102cadd8da8e10d1c19621bddd72151f6993817 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sun, 10 Jan 2016 11:02:51 +0100 Subject: [PATCH] [appveyor] try to alternate our Perl provider I hope that it will workaround https://github.com/toddr/IPC-Run/issues/16 --- appveyor.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 12620d6444..6affb8a5c3 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -34,10 +34,18 @@ environment: #- if [%COMPILER%]==[MinGW-w64] 7z x -tzip lua.zip > NULL install: +# Sane migwin, as installed by syengine - if [%COMPILER%]==[MinGW-w64] call .appveyor-download.cmd "https://raw.githubusercontent.com/symengine/dependencies/5cff7d1736877336cf9fb58267111beea4fa152f/x86_64-4.9.1-release-posix-seh-rt_v3-rev1.7z" -FileName mw64.7z - if [%COMPILER%]==[MinGW-w64] 7z x -oC:\ mw64.7z > NUL - if [%COMPILER%]==[MinGW-w64] set PATH=C:\mingw64\bin;%PATH%- - if [%COMPILER%]==[MinGW-w64] rename "C:\Program Files\Git\usr\bin\sh.exe" "sh-ignored.exe" +# Perl +- if not exist "C:\projects\sources" mkdir "C:\projects\sources" +- cd C:\projects\sources +- ps: Start-FileDownload http://strawberryperl.com/download/5.22.1.1/strawberry-perl-5.22.1.1-64bit.msi +- msiexec /i "C:\projects\sources\strawberry-perl-5.22.1.1-64bit.msi" /qn INSTALLDIR="C:\projects\perl" +- set PATH=C:\projects\perl\perl\bin;C:\projects\perl\perl\site\bin;C:\projects\perl\c\bin;%PATH% +- cd C:\projects\simgrid build_script: - if [%COMPILER%]==[MSVC15] if [%PLATFORM%]==[Win32] cmake -G "Visual Studio 14 2015" -Denable_lua=OFF -Denable_java=ON -Denable_smpi=OFF -Denable_mallocators=OFF . @@ -47,7 +55,6 @@ build_script: - if not [%COMPILER%]==[MSVC15] mingw32-make VERBOSE=1 - cd C:/projects/simgrid/examples/java && java -classpath ".;../../simgrid.jar" masterslave.Masterslave ../platforms/platform.xml masterslave/masterslaveDeployment.xml || true - # I cant use the cmake test because of the following error: # Test project C:/projects/simgrid # Start 1: mc-replay-random-bug -- 2.20.1