1 image: Visual Studio 2017
12 # VS VERSION IN CMAKE STYLE
14 - VSVERSION: "15 2017"
15 - VSVERSION: "14 2015"
23 - ps: Invoke-WebRequest http://doxygen.nl/testing/miktex.zip -OutFile miktex.zip
24 - 7z x miktex.zip -oC:\deps\miktex
25 # Disabled MikTeX installed due to unreliable download
26 # - ps: Invoke-WebRequest https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs924/gs924w32.exe -OutFile gswin32c.exe
27 # - gswin32c /S /D=C:\deps\ghostscript
28 # - ps: if($env:platform -eq "x64") { Invoke-WebRequest https://miktex.org/download/win/miktexsetup-x64.zip -OutFile miktexsetup.zip }
29 # - ps: if($env:platform -eq "Win32") { Invoke-WebRequest https://miktex.org/download/win/miktexsetup-x86.zip -OutFile miktexsetup.zip }
30 # - 7z x miktexsetup.zip -oC:\tmpmiktex
31 # - C:\tmpmiktex\miktexsetup --local-package-repository=C:\temp\miktex --package-set=basic download
32 # - C:\tmpmiktex\miktexsetup --verbose --local-package-repository=C:\temp\miktex --package-set=basic install
37 libxml2/2.9.8@bincrafters/stable
38 winflexbison/2.5.16@bincrafters/stable" | Out-File -Encoding ASCII -FilePath conanfile.txt
39 - conan install . -g virtualrunenv --build missing
41 - set "PATH=%PATH%;C:\deps\ghostscript\bin;C:\deps\miktex\miktex\bin"
44 - if "%platform%"=="Win32" ( set "CMAKE_GENERATOR_NAME=Visual Studio %VSVERSION%" )
45 - if "%platform%"=="x64" ( set "CMAKE_GENERATOR_NAME=Visual Studio %VSVERSION% Win64")
48 - cmake -G "%CMAKE_GENERATOR_NAME%" ..
51 project: "build\\PACKAGE.vcxproj"
55 - msbuild "testing\tests.vcxproj" /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
56 # Disabled building document due to unreliable MikTeX installation
57 # - cmake -G "%CMAKE_GENERATOR_NAME%" -D build_doc=ON ..
58 - cmake -G "%CMAKE_GENERATOR_NAME%" ..
59 # - msbuild "doc\docs.vcxproj" /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"