Ebrahim Byagowi | c4f36b0 | 2016-09-01 17:31:16 +0430 | [diff] [blame] | 1 | platform: x64 |
| 2 | |
| 3 | environment: |
| 4 | matrix: |
Behdad Esfahbod | 66381fb | 2019-05-31 20:20:43 -0700 | [diff] [blame] | 5 | |
Ebrahim Byagowi | 5b9cf19 | 2019-08-11 23:07:29 +0430 | [diff] [blame] | 6 | #- compiler: msvc |
| 7 | # generator: Visual Studio 14 |
| 8 | # platform: Win32 |
| 9 | # configuration: Debug |
| 10 | # triplet: x86-windows |
Behdad Esfahbod | 66381fb | 2019-05-31 20:20:43 -0700 | [diff] [blame] | 11 | |
Ebrahim Byagowi | 5b9cf19 | 2019-08-11 23:07:29 +0430 | [diff] [blame] | 12 | #- compiler: msvc |
| 13 | # generator: Visual Studio 14 Win64 |
| 14 | # platform: x64 |
| 15 | # configuration: Debug |
| 16 | # triplet: x64-windows |
ebraminio | b6f505c | 2017-12-06 13:51:04 +0330 | [diff] [blame] | 17 | |
| 18 | - compiler: msvc |
ebraminio | 7d64c0e | 2017-04-04 15:03:51 +0430 | [diff] [blame] | 19 | generator: Visual Studio 14 ARM |
| 20 | platform: ARM |
| 21 | configuration: Debug |
| 22 | |
ebraminio | b6f505c | 2017-12-06 13:51:04 +0330 | [diff] [blame] | 23 | |
Ebrahim Byagowi | 88f9dab | 2019-05-29 01:55:31 +0430 | [diff] [blame] | 24 | # Build only |
Ebrahim Byagowi | 88f9dab | 2019-05-29 01:55:31 +0430 | [diff] [blame] | 25 | |
Behdad Esfahbod | f387a09 | 2019-05-31 22:12:23 -0700 | [diff] [blame] | 26 | #- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 |
| 27 | # compiler: msvc2 |
| 28 | # generator: Visual Studio 12 |
| 29 | # platform: Win32 |
| 30 | # configuration: Release |
| 31 | # triplet: x86-windows |
Ebrahim Byagowi | 88f9dab | 2019-05-29 01:55:31 +0430 | [diff] [blame] | 32 | |
Behdad Esfahbod | 66381fb | 2019-05-31 20:20:43 -0700 | [diff] [blame] | 33 | - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 |
| 34 | compiler: msvc2 |
| 35 | generator: Visual Studio 15 |
| 36 | platform: Win32 |
| 37 | configuration: Release |
| 38 | triplet: x86-windows |
| 39 | |
| 40 | - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 |
| 41 | compiler: msvc2 |
| 42 | generator: Visual Studio 16 |
| 43 | platform: Win32 |
| 44 | configuration: Release |
| 45 | triplet: x86-windows |
Ebrahim Byagowi | 88f9dab | 2019-05-29 01:55:31 +0430 | [diff] [blame] | 46 | |
| 47 | |
Ebrahim Byagowi | 17f0dd2 | 2016-09-02 01:21:48 +0430 | [diff] [blame] | 48 | - compiler: msys2 |
Ebrahim Byagowi | 957e775 | 2018-03-19 12:19:42 +0330 | [diff] [blame] | 49 | MINGW_PREFIX: /mingw64 |
Ebrahim Byagowi | 17f0dd2 | 2016-09-02 01:21:48 +0430 | [diff] [blame] | 50 | MINGW_CHOST: x86_64-w64-mingw32 |
| 51 | MSYS2_ARCH: x86_64 |
Behdad Esfahbod | 66381fb | 2019-05-31 20:20:43 -0700 | [diff] [blame] | 52 | |
Ebrahim Byagowi | 17f0dd2 | 2016-09-02 01:21:48 +0430 | [diff] [blame] | 53 | - compiler: msys2 |
Ebrahim Byagowi | 957e775 | 2018-03-19 12:19:42 +0330 | [diff] [blame] | 54 | MINGW_PREFIX: /mingw32 |
Ebrahim Byagowi | 17f0dd2 | 2016-09-02 01:21:48 +0430 | [diff] [blame] | 55 | MINGW_CHOST: i686-w64-mingw32 |
| 56 | MSYS2_ARCH: i686 |
| 57 | |
Khaled Hosny | d084719 | 2018-10-20 00:18:36 +0200 | [diff] [blame] | 58 | |
Ebrahim Byagowi | c4f36b0 | 2016-09-01 17:31:16 +0430 | [diff] [blame] | 59 | install: |
Ebrahim Byagowi | faf69e0 | 2019-06-01 11:02:25 +0430 | [diff] [blame] | 60 | - 'if "%compiler%"=="msys2" C:\msys64\usr\bin\bash -lc "pacman --noconfirm --force -S --needed mingw-w64-$MSYS2_ARCH-{gcc,freetype,cairo,icu,gettext,gobject-introspection,gcc,gcc-libs,glib2,graphite2,pkg-config,python2,ragel}"' |
Khaled Hosny | 6a3ad24 | 2018-10-24 09:49:08 +0200 | [diff] [blame] | 61 | - 'if "%compiler%"=="msvc" if not "%platform%"=="ARM" vcpkg install glib:%triplet% freetype:%triplet% cairo:%triplet%' |
Ebrahim Byagowi | c4f36b0 | 2016-09-01 17:31:16 +0430 | [diff] [blame] | 62 | |
Ebrahim Byagowi | 755a0c2 | 2016-10-21 11:48:58 +0330 | [diff] [blame] | 63 | build_script: |
Ebrahim Byagowi | 88f9dab | 2019-05-29 01:55:31 +0430 | [diff] [blame] | 64 | - 'if "%compiler%"=="msvc" if "%platform%"=="ARM" cmake -Bbuild -H. -DHB_HAVE_UNISCRIBE=ON -DHB_HAVE_DIRECTWRITE=ON -G "%generator%"' |
| 65 | - 'if "%compiler%"=="msvc" if not "%platform%"=="ARM" cmake -Bbuild -H. -DHB_HAVE_UNISCRIBE=ON -DHB_HAVE_DIRECTWRITE=ON -DHB_HAVE_GLIB=ON -DHB_HAVE_FREETYPE=ON -DHB_BUILD_UTILS=ON -G "%generator%" -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake' |
| 66 | |
Khaled Hosny | 6a3ad24 | 2018-10-24 09:49:08 +0200 | [diff] [blame] | 67 | - 'if "%compiler%"=="msvc" set PATH=%PATH%;C:\Program Files (x86)\MSBuild\14.0\Bin' |
Ebrahim Byagowi | 88f9dab | 2019-05-29 01:55:31 +0430 | [diff] [blame] | 68 | - 'if "%compiler%"=="msvc" cd build' |
ebraminio | b6f505c | 2017-12-06 13:51:04 +0330 | [diff] [blame] | 69 | - 'if "%compiler%"=="msvc" msbuild harfbuzz.sln /p:Configuration=%configuration% /p:Platform=%platform%' |
Ebrahim Byagowi | 4e3cf91 | 2018-01-01 11:17:51 +0330 | [diff] [blame] | 70 | - 'if "%compiler%"=="msvc" if not "%platform%"=="ARM" ctest --output-on-failure -C %configuration%' |
ebraminio | 7d64c0e | 2017-04-04 15:03:51 +0430 | [diff] [blame] | 71 | |
Ebrahim Byagowi | 88f9dab | 2019-05-29 01:55:31 +0430 | [diff] [blame] | 72 | - 'if "%compiler%"=="msvc2" cmake -G "%generator%" -Bbuild -H.' |
| 73 | - 'if "%compiler%"=="msvc2" cmake --build build --config %configuration%' |
| 74 | |
Ebrahim Byagowi | eb58503 | 2018-06-11 03:47:43 +0430 | [diff] [blame] | 75 | - 'if "%compiler%"=="msys2" C:\msys64\usr\bin\bash -lc "curl https://raw.githubusercontent.com/mirror/mingw-w64/023eb04c396d4e8d8fcf604cfababc53dae13398/mingw-w64-headers/include/dwrite_1.h > %MINGW_PREFIX%/%MINGW_CHOST%/include/dwrite_1.h"' |
Ebrahim Byagowi | eb8bd2f | 2019-07-16 22:27:01 +0430 | [diff] [blame] | 76 | - '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 --with-directwrite --with-gdi --build=%MINGW_CHOST% --host=%MINGW_CHOST% --prefix=%MINGW_PREFIX%; make -j3 check || .ci/fail.sh"' |
Ebrahim Byagowi | c4f36b0 | 2016-09-01 17:31:16 +0430 | [diff] [blame] | 77 | |
ebraminio | b6f505c | 2017-12-06 13:51:04 +0330 | [diff] [blame] | 78 | cache: |
| 79 | - c:\tools\vcpkg\installed\ |
ebraminio | b6f505c | 2017-12-06 13:51:04 +0330 | [diff] [blame] | 80 | |
Ebrahim Byagowi | 2002257 | 2018-02-15 01:15:39 +0330 | [diff] [blame] | 81 | notifications: |
| 82 | - provider: Email |
| 83 | to: |
| 84 | - harfbuzz-bots-chatter@googlegroups.com |
Behdad Esfahbod | a21fceb | 2018-02-18 16:10:15 -0800 | [diff] [blame] | 85 | on_build_success: false |
| 86 | on_build_failure: true |
| 87 | on_build_status_changed: true |
Ebrahim Byagowi | 2002257 | 2018-02-15 01:15:39 +0330 | [diff] [blame] | 88 | |
Khaled Hosny | 0cd7d04 | 2018-10-24 09:43:10 +0200 | [diff] [blame] | 89 | # Do not build feature branch with open Pull Requests |
| 90 | skip_branch_with_pr: true |
| 91 | |
Ebrahim Byagowi | c4f36b0 | 2016-09-01 17:31:16 +0430 | [diff] [blame] | 92 | # disable automatic tests |
| 93 | test: off |