Ebrahim Byagowi | c4f36b0 | 2016-09-01 17:31:16 +0430 | [diff] [blame] | 1 | platform: x64 |
| 2 | |
| 3 | environment: |
| 4 | matrix: |
ebraminio | b6f505c | 2017-12-06 13:51:04 +0330 | [diff] [blame^] | 5 | - compiler: msvc |
ebraminio | 7d64c0e | 2017-04-04 15:03:51 +0430 | [diff] [blame] | 6 | generator: Visual Studio 14 |
| 7 | platform: Win32 |
| 8 | configuration: Debug |
ebraminio | b6f505c | 2017-12-06 13:51:04 +0330 | [diff] [blame^] | 9 | triplet: x86-windows |
| 10 | - compiler: msvc |
ebraminio | 7d64c0e | 2017-04-04 15:03:51 +0430 | [diff] [blame] | 11 | generator: Visual Studio 14 Win64 |
| 12 | platform: x64 |
| 13 | configuration: Debug |
ebraminio | b6f505c | 2017-12-06 13:51:04 +0330 | [diff] [blame^] | 14 | triplet: x64-windows |
| 15 | |
| 16 | - compiler: msvc |
ebraminio | 7d64c0e | 2017-04-04 15:03:51 +0430 | [diff] [blame] | 17 | generator: Visual Studio 14 ARM |
| 18 | platform: ARM |
| 19 | configuration: Debug |
| 20 | |
ebraminio | b6f505c | 2017-12-06 13:51:04 +0330 | [diff] [blame^] | 21 | |
Ebrahim Byagowi | 17f0dd2 | 2016-09-02 01:21:48 +0430 | [diff] [blame] | 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 | |
Ebrahim Byagowi | c4f36b0 | 2016-09-01 17:31:16 +0430 | [diff] [blame] | 31 | install: |
| 32 | - C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S mingw-w64-x86_64-ragel" |
| 33 | |
Ebrahim Byagowi | 755a0c2 | 2016-10-21 11:48:58 +0330 | [diff] [blame] | 34 | build_script: |
ebraminio | b6f505c | 2017-12-06 13:51:04 +0330 | [diff] [blame^] | 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 | |
ebraminio | 7d64c0e | 2017-04-04 15:03:51 +0430 | [diff] [blame] | 45 | |
Ebrahim Byagowi | 17f0dd2 | 2016-09-02 01:21:48 +0430 | [diff] [blame] | 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}"' |
Behdad Esfahbod | 771970e | 2017-10-03 13:23:31 +0200 | [diff] [blame] | 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)"' |
Ebrahim Byagowi | c4f36b0 | 2016-09-01 17:31:16 +0430 | [diff] [blame] | 48 | |
ebraminio | b6f505c | 2017-12-06 13:51:04 +0330 | [diff] [blame^] | 49 | cache: |
| 50 | - c:\tools\vcpkg\installed\ |
| 51 | - c:\msys64\ |
| 52 | |
Ebrahim Byagowi | c4f36b0 | 2016-09-01 17:31:16 +0430 | [diff] [blame] | 53 | # disable automatic tests |
| 54 | test: off |