blob: a2867ca40e75720d023558cf64528003b63723bc [file] [log] [blame]
Ebrahim Byagowic4f36b02016-09-01 17:31:16 +04301platform: x64
2
3environment:
4 matrix:
5 - compiler: msvc
6 ARCH: amd64
Ebrahim Byagowi755a0c22016-10-21 11:48:58 +03307 VCPKG_ARCH: x64-windows
Ebrahim Byagowic4f36b02016-09-01 17:31:16 +04308 CFG: release
9 - compiler: msvc
10 ARCH: x86
Ebrahim Byagowi755a0c22016-10-21 11:48:58 +033011 VCPKG_ARCH: x86-windows
Ebrahim Byagowic4f36b02016-09-01 17:31:16 +043012 CFG: release
13 - compiler: msvc
14 ARCH: amd64
Ebrahim Byagowi755a0c22016-10-21 11:48:58 +033015 VCPKG_ARCH: x64-windows
Ebrahim Byagowic4f36b02016-09-01 17:31:16 +043016 CFG: debug
17 - compiler: msvc
18 ARCH: x86
Ebrahim Byagowi755a0c22016-10-21 11:48:58 +033019 VCPKG_ARCH: x86-windows
Ebrahim Byagowic4f36b02016-09-01 17:31:16 +043020 CFG: debug
21
Ebrahim Byagowi17f0dd22016-09-02 01:21:48 +043022 - compiler: msys2
23 MINGW_PREFIX: /c/msys2/mingw64/
24 MINGW_CHOST: x86_64-w64-mingw32
25 MSYS2_ARCH: x86_64
26 - compiler: msys2
27 MINGW_PREFIX: /c/msys2/mingw32/
28 MINGW_CHOST: i686-w64-mingw32
29 MSYS2_ARCH: i686
30
Ebrahim Byagowic4f36b02016-09-01 17:31:16 +043031install:
32 - C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S mingw-w64-x86_64-ragel"
33
Ebrahim Byagowi17f0dd22016-09-02 01:21:48 +043034 - 'if "%compiler%"=="msvc" call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %ARCH%'
ebraminio70202982017-02-18 10:37:36 +033035# - 'if "%compiler%"=="msvc" git clone https://github.com/Microsoft/vcpkg'
36# - 'if "%compiler%"=="msvc" cd vcpkg'
37# - 'if "%compiler%"=="msvc" powershell -exec bypass scripts\bootstrap.ps1'
38# - 'if "%compiler%"=="msvc" vcpkg install freetype:%VCPKG_ARCH%'
39# - 'if "%compiler%"=="msvc" copy installed\%VCPKG_ARCH%\debug\lib\freetyped.lib installed\%VCPKG_ARCH%\lib'
40# - 'if "%compiler%"=="msvc" cd ..'
Ebrahim Byagowi755a0c22016-10-21 11:48:58 +033041
42build_script:
Ebrahim Byagowi17f0dd22016-09-02 01:21:48 +043043 - 'if "%compiler%"=="msvc" C:\msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; PATH=$PATH:/mingw64/bin:/mingw32/bin; ./autogen.sh; make distdir"'
44 - 'if "%compiler%"=="msvc" cd harfbuzz-*\win32'
ebraminio70202982017-02-18 10:37:36 +033045 - 'if "%compiler%"=="msvc" nmake /f Makefile.vc CFG=%CFG% UNISCRIBE=1 DIRECTWRITE=1' # FREETYPE=1 FREETYPE_DIR=..\..\vcpkg\installed\%VCPKG_ARCH%\include ADDITIONAL_LIB_DIR=..\..\vcpkg\installed\%VCPKG_ARCH%\lib'
46 - 'if "%compiler%"=="msvc" nmake /f Makefile.vc CFG=%CFG% UNISCRIBE=1 DIRECTWRITE=1 install' # FREETYPE=1 install'
Ebrahim Byagowi17f0dd22016-09-02 01:21:48 +043047
48 - 'if "%compiler%"=="msys2" C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S mingw-w64-$MSYS2_ARCH-{freetype,cairo,icu,gettext,gobject-introspection,gcc,gcc-libs,glib2,graphite2,pkg-config}"'
Khaled Hosnye693ba72017-03-23 00:35:36 +020049 - 'if "%compiler%"=="msys2" C:\msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; PATH=$PATH:/mingw64/bin:/mingw32/bin; ./autogen.sh --with-uniscribe --with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2 --build=%MINGW_CHOST% --host=%MINGW_CHOST% --prefix=%MINGW_PREFIX%; make; make check"'
Ebrahim Byagowic4f36b02016-09-01 17:31:16 +043050
51# disable automatic tests
52test: off