• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1platform: x64
2
3environment:
4  matrix:
5    - compiler: msvc
6      ARCH: amd64
7      VCPKG_ARCH: x64-windows
8      CFG: release
9    - compiler: msvc
10      ARCH: x86
11      VCPKG_ARCH: x86-windows
12      CFG: release
13    - compiler: msvc
14      ARCH: amd64
15      VCPKG_ARCH: x64-windows
16      CFG: debug
17    - compiler: msvc
18      ARCH: x86
19      VCPKG_ARCH: x86-windows
20      CFG: debug
21
22    - 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
31install:
32  - C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S mingw-w64-x86_64-ragel"
33
34  - 'if "%compiler%"=="msvc" call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %ARCH%'
35  - '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 ..'
41
42build_script:
43  - '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'
45  - '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 FREETYPE=1 install'
47
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}"'
49  - '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"'
50
51# disable automatic tests
52test: off
53