Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[appveyor] try to alternate our Perl provider
authorMartin Quinson <martin.quinson@loria.fr>
Sun, 10 Jan 2016 10:02:51 +0000 (11:02 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Sun, 10 Jan 2016 10:02:54 +0000 (11:02 +0100)
I hope that it will workaround https://github.com/toddr/IPC-Run/issues/16

appveyor.yml

index 12620d6..6affb8a 100644 (file)
@@ -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