diff options
-rw-r--r-- | appveyor.yml | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/appveyor.yml b/appveyor.yml index 06a1d76..1119f38 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,7 +2,7 @@ image: Visual Studio 2017 configuration: - Release -# - Debug + - Debug platform: - x64 @@ -24,7 +24,11 @@ install: - 7z x flex.zip -oC:\deps\flex - ps: Invoke-WebRequest https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs924/gs924w32.exe -OutFile gswin32c.exe - gswin32c /S /D=C:\deps\ghostscript - - ps: choco install -y miktex + - ps: if($env:platform -eq "x64") { Invoke-WebRequest https://miktex.org/download/win/miktexsetup-x64.zip -OutFile miktexsetup.zip } + - ps: if($env:platform -eq "Win32") { Invoke-WebRequest https://miktex.org/download/win/miktexsetup-x86.zip -OutFile miktexsetup.zip } + - 7z x miktexsetup.zip -oC:\tmpmiktex + - C:\tmpmiktex\miktexsetup --local-package-repository=C:\temp\miktex --package-set=basic download + - C:\tmpmiktex\miktexsetup --verbose --local-package-repository=C:\temp\miktex --package-set=basic install - refreshenv - pip install conan - conan install libxml2/2.9.8@bincrafters/stable -g virtualrunenv @@ -42,7 +46,7 @@ build: project: "build\\PACKAGE.vcxproj" parallel: false -#test_script: -# - msbuild "testing\tests.vcxproj" /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" -# - cmake -G "%CMAKE_GENERATOR_NAME%" -D build_doc=ON .. +test_script: + - msbuild "testing\tests.vcxproj" /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" + - cmake -G "%CMAKE_GENERATOR_NAME%" -D build_doc=ON .. # - msbuild "doc\docs.vcxproj" /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" |