Commit Graph

162 Commits

Author SHA1 Message Date
Ebrahim Byagowi 6058ede3ae
Build win32 artifacts using meson
As a part of meson migration, this builds hb-shape dependencies
using meson subprojects and removes different unrelated mingw
files we've put on source root about things that aren't really our
concern. This also simplifies all the instructions we've put in
README.mingw.md and makes it easy to build the project on
distros that no mingw libraries (such i686-win32-{freetype,glib,...}
are packaged. The known catch is however lack of hb-view as its need
for build of cairo which apparently isn't that straightforward.
2020-06-01 12:58:31 +04:30
Ebrahim Byagowi 9d13124cfd
[ci] fix alpine build issue 2020-05-30 14:45:22 +04:30
Ebrahim Byagowi cc53fd158c
[meson] Normalize options names
As https://github.com/harfbuzz/harfbuzz/pull/2412#discussion_r426275027
2020-05-21 19:33:18 +04:30
Ebrahim Byagowi 99e2342a6b [ci] Install newer meson from pip 2020-05-21 18:52:31 +04:30
Ebrahim Byagowi eac2c3bdb1 [ci] Enable sanitizer bots again 2020-05-21 08:41:02 +04:30
Ebrahim Byagowi 0b261c5d0b
[ci] disable clang-{everthing,*san} bots
are flaky, will enable them somewhere else
2020-05-07 10:28:24 +04:30
Ebrahim Byagowi 5b91c52083
[ci] run experimental APIs tests 2020-04-20 21:44:01 +00:00
Ebrahim Byagowi 750bb73e32 [meson] Add an experimental-api option 2020-04-21 01:26:08 +04:30
Ebrahim Byagowi e0e7727064 [ci] Update macOS 10.15's version 2020-04-03 01:12:37 +04:30
Ebrahim Byagowi 755a77d660 Move outline draw API behind HB_EXPERIMENTAL_API directive 2020-03-13 08:25:53 +03:30
Ebrahim Byagowi dfab7a2546 [cmake] Bring it back to release tarball 2020-03-12 21:51:36 +03:30
Ebrahim Byagowi 1dd3896688 [meson] Make it work on autotools dist 2020-03-12 14:49:40 +03:30
Ebrahim Byagowi 749cf378e8 [meson] test meson's own unity feature also 2020-03-12 00:25:48 +03:30
Ebrahim Byagowi f8c8be0564 [meson] Add amalgam build option 2020-03-12 00:25:48 +03:30
Ebrahim Byagowi c494d7abcd Remove cmake testing and add meson build bot
CMake tests are broken anyway as py3 changes so let's get rid of them
2020-03-11 20:15:10 +03:30
Ebrahim Byagowi 83db1e117e [ci] Compatibility with Python 3
Disabled CMake test runners as it goes for Python 2 and updated the bots

Install Python 3 on macOS 10.12 bot
2020-02-19 16:17:45 +03:30
Ebrahim Byagowi bd13470f23 [ci] Update Ubuntu bots versions 2020-02-19 13:36:08 +03:30
Ebrahim Byagowi 4dc3db7344 Minor, fix warnings raised when built with -std=c++2a
Follow up to c184180,

It was raising,

  src/hb-ot-layout-common.hh:1067:63: warning: implicit capture of 'this' with a capture default of '=' is deprecated [-Wdeprecated-this-capture]
      | hb_filter ([=] (const OffsetTo<TSubTable> &_) { return (this+_).intersects (glyphset, lookup_type); })
                                                                ^
  src/hb-ot-layout-common.hh:1067:19: note: add an explicit capture of 'this' to capture '*this' by reference
      | hb_filter ([=] (const OffsetTo<TSubTable> &_) { return (this+_).intersects (glyphset, lookup_type); })
                    ^
                     , this

and

  src/hb-ot-layout-common.hh:2626:38: warning: implicit capture of 'this' with a capture default of '=' is deprecated [-Wdeprecated-this-capture]
                  { r.collect_lookups (this, lookup_indexes); })
                                       ^
  src/hb-ot-layout-common.hh:2625:18: note: add an explicit capture of 'this' to capture '*this' by reference
      | hb_apply ([=] (const FeatureTableSubstitutionRecord& r)
                   ^
                    , this

and

  src/hb-ot-hdmx-table.hh:141:44: error: implicit capture of 'this' with a capture default of '=' is deprecated [-Werror,-Wdeprecated-this-capture]
                          return device_record->widthsZ.as_array (get_num_glyphs ()) [_];
                                                                  ^
  src/hb-ot-hdmx-table.hh:137:17: note: add an explicit capture of 'this' to capture '*this' by reference
              | hb_map ([=] (hb_codepoint_t _)
                         ^
                          , this
2020-02-06 16:25:54 +03:30
Ebrahim Byagowi 1a6d53d3c0
[ci] Increase msan and fedora-O0 bots subset fuzzer timeout 2020-01-24 20:00:23 +03:30
Ebrahim Byagowi 80762cc4d0
[ci] Speedup tsan bot
We don't expect fails thus expecting readable failure backtrace so let's speed it up instead
2019-12-15 23:21:10 +03:30
Ebrahim Byagowi f3de3b6d3d
[ci] fix macOS 10.15 bot
Xcode 11.3.0 image is supposed to work per https://circleci.com/docs/2.0/testing-ios/
but isn't https://circleci.com/gh/harfbuzz/harfbuzz/118693 AFAICS

Let's try Xcode 11.2.1 image
2019-12-10 16:37:48 +03:30
Ebrahim Byagowi 49434bdd49
[ci] Add a macOS 10.15 bot
Should update macos.tests with the fonts, for now
2019-12-10 16:28:04 +03:30
Ebrahim Byagowi 7cde68f10c
[ci] install pip in fedora bot 2019-11-02 19:04:14 +03:30
Ebrahim Byagowi 46178c0325
[ci] fix fedora bot 2019-11-02 14:36:30 +03:30
Ebrahim Byagowi 7915c5d6fa
[ci] Check the recipt introduce in 7152ac3 2019-10-29 22:55:34 +03:30
Ebrahim Byagowi 9815ca0338 [ci] Use custom subset fuzzer timeout for failing sanitizer bots 2019-10-25 00:16:23 +03:30
Ebrahim Byagowi b03b62cb30
[ci] Add HB_NO_MT on non HB_TINY no-build-system builds 2019-10-23 12:18:21 +03:30
Ebrahim Byagowi dc886f6638 [ci] Re-enable debug builds on fedora bot 2019-09-21 17:36:33 +04:30
Ebrahim Byagowi 70228f68ac
[ci] Enable HB_WITH_WIN1256 on -Weverything bot
To catch its compile warnings, #1969 related
2019-09-21 16:24:41 +04:30
Ebrahim Byagowi 5a1cc199ab [ci] Run -fno-sanitize-recover=undefined checks 2019-09-18 23:16:52 +04:30
Ebrahim Byagowi aab279b33d [ci] Install cmake on macOS cmake/amalgam tester 2019-09-14 11:55:53 +04:30
Ebrahim Byagowi cbbb6fa455 [ci] Don't build cmake tests in macOS bot 2019-09-14 11:55:53 +04:30
Ebrahim Byagowi bf08611044 [ci] Update and compile cmake/amalgam on macOS bot 2019-09-14 11:55:53 +04:30
Ebrahim Byagowi 504bb17287
[ci] Bring back -linux-arm64 bot
Let's see if 576065b has fixed it
2019-07-17 22:57:46 +04:30
Ebrahim Byagowi 4552864c82
[ci] Disable -linux-arm64 bot
This is its failure https://circleci.com/gh/harfbuzz/harfbuzz/99864

Trying to fix like ee05627, interestingly, makes the bot and the
others to fail like this https://circleci.com/gh/harfbuzz/harfbuzz/99841
2019-07-17 22:08:39 +04:30
Ebrahim Byagowi 9fea6b4dd4
[amalgam] Use it in cmake port and fix conflicts (#1812) 2019-07-05 18:46:41 +04:30
Ebrahim Byagowi eb28d6e48b
[ci] Test no build system builds
Introduced in aa3450c, let's preserve it
2019-06-18 12:14:10 +04:30
Ebrahim Byagowi 4a2b58555f
[ci] Use HB_OPTIMIZE_SIZE instead of __OPTIMIZE_SIZE__ 2019-06-10 08:16:51 -07:00
Ebrahim Byagowi a228bb5f1d
[ci] Test -Os and optimize size in Alpine bot
__OPTIMIZE_SIZE__ should be defined whenever -Os but some Internet thread
indicate may not so lets do that ourselves as that is the main intention
2019-06-10 15:56:36 +04:30
Ebrahim Byagowi 801d93fc58
[ci] remove wine from fedora bot
We are not testing Windows exes in fedora mingw bot, we don't have to as
probably won't go that smoothly and we have real Windows bots anyway
and as wine installation itself is time taking let's remove it
2019-06-10 14:53:14 +04:30
Ebrahim Byagowi 52aa6c57c5
[ci] minor 2019-05-25 22:55:06 +04:30
Ebrahim Byagowi 9b75da4299
[ci] minor 2019-05-25 22:46:10 +04:30
Ebrahim Byagowi 9158cab3f9
[ci] Store dist-win result instead 2019-05-25 22:33:02 +04:30
Ebrahim Byagowi 309a9d8ffb
[ci] Remove --without-icu now that we have it in ./mingw{32,64} scripts 2019-05-25 20:40:03 +04:30
Ebrahim Byagowi 0e6b7f7cd5
[ci] Build mingw on Fedora and store .exe outputs 2019-05-25 20:27:29 +04:30
Behdad Esfahbod c96c6b287f One more 2019-05-23 21:37:17 -04:00
Ebrahim Byagowi d1baf99697
[ci] add HB_TINY to asmjs builder 2019-05-14 16:16:46 +04:30
Ebrahim Byagowi c3e0eafc80
[ci] Upgrade Ubuntu 17.10 bots to 19.04 2019-05-07 12:04:00 +04:30
Ebrahim Byagowi e200d165a4
[ci] Remove crosscompile-notest-freebsd9 bot
It was testing an old version of freebsd and now it's image is gone.
We really like to test the environment.
2019-04-30 02:10:50 +04:30
Ebrahim Byagowi c0ea37b557
[ci] Fix macOS glib issue 2019-04-15 00:34:04 +04:30