summaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorEbrahim Byagowi <ebrahim@gnu.org>2016-09-01 17:31:16 +0430
committerBehdad Esfahbod <behdad@behdad.org>2016-09-01 06:01:16 -0700
commitc4f36b04e32ae5111ef11d225e5d6e82c8216185 (patch)
tree1957154dc8818e760bb7bf266ffb42c877cc5d8e /appveyor.yml
parent3d976d20f1b97c771e64a9cfed2760ebec64037a (diff)
[ci] Add Windows CI support, provided by AppVeyor (#308)
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 00000000..391fdc2d
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,28 @@
+platform: x64
+
+environment:
+ matrix:
+ - compiler: msvc
+ ARCH: amd64
+ CFG: release
+ - compiler: msvc
+ ARCH: x86
+ CFG: release
+ - compiler: msvc
+ ARCH: amd64
+ CFG: debug
+ - compiler: msvc
+ ARCH: x86
+ CFG: debug
+
+install:
+ - C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S mingw-w64-x86_64-ragel"
+
+build_script:
+ - '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %ARCH%'
+ - C:\msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; PATH=$PATH:/mingw64/bin:/mingw32/bin; ./autogen.sh; make distdir"
+ - cd harfbuzz-*\win32
+ - nmake /f Makefile.vc CFG=%CFG% DIRECTWRITE=1
+
+# disable automatic tests
+test: off