summaryrefslogtreecommitdiffstats
path: root/appveyor.yml
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2018-09-10 17:06:15 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2018-09-10 17:06:15 (GMT)
commit03c6f500926fd46d44768ecf2a7b464f8d710ef0 (patch)
tree1e571b897fa95567c9d4f2bd6375f69437ac1caa /appveyor.yml
parentec9f8e82a9ff26750ca7fcffb20d17d8cbdb2bbc (diff)
parent4a1964105a74beb857a877928d264261ab8c1e77 (diff)
downloadDoxygen-03c6f500926fd46d44768ecf2a7b464f8d710ef0.zip
Doxygen-03c6f500926fd46d44768ecf2a7b464f8d710ef0.tar.gz
Doxygen-03c6f500926fd46d44768ecf2a7b464f8d710ef0.tar.bz2
Merge branch 'master' of github.com:doxygen/doxygen
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml48
1 files changed, 48 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000..05e726c
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,48 @@
+image: Visual Studio 2015
+
+configuration:
+ - Release
+ - Debug
+
+platform:
+ - x64
+ - Win32
+
+environment:
+ # VS VERSION IN CMAKE STYLE
+ matrix:
+# - VSVERSION: "15 2017", disabled until it starts working
+ - VSVERSION: "14 2015"
+
+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
+ - 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
+ - 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%" ..
+
+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 ..
+ - msbuild "doc\docs.vcxproj" /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"