1 platform: x64 2 3 environment: 4 matrix: 5 - compiler: msvc 6 generator: Visual Studio 14 7 platform: Win32 8 configuration: Debug 9 triplet: x86-windows 10 - compiler: msvc 11 generator: Visual Studio 14 Win64 12 platform: x64 13 configuration: Debug 14 triplet: x64-windows 15 16 - compiler: msvc 17 generator: Visual Studio 14 ARM 18 platform: ARM 19 configuration: Debug 20 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 31 install: 32 - C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S mingw-w64-x86_64-ragel" 33 34 build_script: 35 - 'if "%compiler%"=="msvc" if not "%platform%"=="ARM" vcpkg install glib:%triplet% freetype:%triplet%' 36 - 'if "%compiler%"=="msvc" md build' 37 - 'if "%compiler%"=="msvc" cd build' 38 - 'if "%compiler%"=="msvc" set PATH=%PATH%;C:\Program Files (x86)\MSBuild\14.0\Bin;c:\msys64\mingw64\bin' # msys2 is added just for having "ragel" on PATH 39 40 - 'if "%compiler%"=="msvc" if "%platform%"=="ARM" cmake -DHB_HAVE_UNISCRIBE=ON -DHB_HAVE_DIRECTWRITE=ON -G "%generator%" ../' 41 - 'if "%compiler%"=="msvc" if not "%platform%"=="ARM" cmake -DHB_HAVE_UNISCRIBE=ON -DHB_HAVE_DIRECTWRITE=ON -DHB_HAVE_GLIB=ON -DHB_HAVE_FREETYPE=ON -G "%generator%" -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake ../' 42 43 - 'if "%compiler%"=="msvc" msbuild harfbuzz.sln /p:Configuration=%configuration% /p:Platform=%platform%' 44 - 'if "%compiler%"=="msvc" if not "%platform%"=="ARM" ctest' 45 46 - '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}"' 47 - '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 || (cat */test-suite.log test/*/test-suite.log && false)"' 48 49 cache: 50 - c:\tools\vcpkg\installed\ 51 52 # disable automatic tests 53 test: off 54