summaryrefslogtreecommitdiffstats
path: root/appveyor.yml
diff options
context:
space:
mode:
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml18
1 files changed, 16 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 636115f..62d084d 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -16,21 +16,35 @@ environment:
init:
- cmake --version
+ - perl --version
+ - msbuild /version
install:
- ps: Invoke-WebRequest https://github.com/lexxmark/winflexbison/releases/download/v2.5.15/win_flex_bison-2.5.15.zip -OutFile flex.zip
- 7z x flex.zip -oC:\deps\flex
- rename C:\deps\flex\win_bison.exe bison.exe
- rename C:\deps\flex\win_flex.exe flex.exe
- - set "PATH=%PATH%;C:\deps\flex"
+ - ps: Invoke-WebRequest https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs923/gs923w32.exe -OutFile gswin32c.exe
+ - gswin32c /S /D=C:\deps\ghostscript
+ - ps: choco install -y miktex
+ - refreshenv
+ - pip install conan
+ - conan install libxml2/2.9.8@bincrafters/stable -g virtualrunenv
+ - activate_run.bat
+ - set "PATH=%PATH%;C:\deps\ghostscript\bin;C:\deps\flex"
before_build:
- if "%platform%"=="Win32" ( set "CMAKE_GENERATOR_NAME=Visual Studio %VSVERSION%" )
- if "%platform%"=="x64" ( set "CMAKE_GENERATOR_NAME=Visual Studio %VSVERSION% Win64")
- mkdir build
- cd build
- - cmake .. -G "%CMAKE_GENERATOR_NAME%
+ - cmake -G "%CMAKE_GENERATOR_NAME%" ..
build:
project: "build\\PACKAGE.vcxproj"
parallel: true
+
+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"