From cd8934f0b2d5d70fa63d90eda8a96f6557e479ab Mon Sep 17 00:00:00 2001 From: Croydon Date: Sat, 15 Sep 2018 18:15:34 +0200 Subject: AppVeyor: Fix MikTex version and re-enable tests --- appveyor.yml | 14 +++++++++----- 1 file 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" -- cgit v0.12