diff options
author | Ebrahim Byagowi <ebrahim@gnu.org> | 2016-09-01 17:31:16 +0430 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2016-09-01 06:01:16 -0700 |
commit | c4f36b04e32ae5111ef11d225e5d6e82c8216185 (patch) | |
tree | 1957154dc8818e760bb7bf266ffb42c877cc5d8e | |
parent | 3d976d20f1b97c771e64a9cfed2760ebec64037a (diff) |
[ci] Add Windows CI support, provided by AppVeyor (#308)
-rw-r--r-- | README | 1 | ||||
-rw-r--r-- | appveyor.yml | 28 | ||||
-rw-r--r-- | win32/generate-msvc.mak | 2 |
3 files changed, 30 insertions, 1 deletions
@@ -1,4 +1,5 @@ [![Build Status](https://travis-ci.org/behdad/harfbuzz.svg)](https://travis-ci.org/behdad/harfbuzz) +[![Build Status](https://ci.appveyor.com/api/projects/status/4oaq58ns2h0m2soa?svg=true)](https://ci.appveyor.com/project/behdad/harfbuzz) [![Coverage Status](https://img.shields.io/coveralls/behdad/harfbuzz.svg)](https://coveralls.io/r/behdad/harfbuzz) [ABI Tracker](http://abi-laboratory.pro/tracker/timeline/harfbuzz/) 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 diff --git a/win32/generate-msvc.mak b/win32/generate-msvc.mak index 48bd9f0f..7c17a946 100644 --- a/win32/generate-msvc.mak +++ b/win32/generate-msvc.mak @@ -23,4 +23,4 @@ $(HB_GOBJECT_ENUM_GENERATED_SOURCES): ..\src\hb-gobject-enums.h.tmpl ..\src\hb-g # Create the build directories $(CFG)\$(PLAT)\harfbuzz $(CFG)\$(PLAT)\harfbuzz-icu $(CFG)\$(PLAT)\harfbuzz-gobject $(CFG)\$(PLAT)\util: - @-mkdir $@ + @-mkdir -p $@ |