Commit Graph

187 Commits

Author SHA1 Message Date
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
Behdad Esfahbod 7929b0f07e [ci] Fix build 2019-03-29 14:14:55 -07:00
Behdad Esfahbod a030ce4ff8 Merge branch 'master' into iter 2019-03-28 21:26:50 -07:00
Ebrahim Byagowi 7360265e69
[ci] Tweak macos and psvita bots (#1638)
* Add --with-graphite2 to macOS
* Add a dummy ragel script for psvita
2019-03-28 16:57:56 -07:00
Ebrahim Byagowi a548d1da78
[ci] Use only CircleCI for macOS (#1637) 2019-03-28 15:42:45 -07:00
Ebrahim Byagowi 717181c594
[ci] remove ragel from psvita compile bot 2019-03-27 16:38:39 +04:30
Ebrahim Byagowi 08e36c5d8b
[ci] Don't install ragel on cmake build bot images
It is not needed anyway
2019-03-27 16:21:47 +04:30
Ebrahim Byagowi 8b6eb6cf46
Add a macOS 10.14.3 fonts tests (#1608) 2019-03-08 01:33:41 +03:30
Behdad Esfahbod 5b725784e5 Merge branch 'master' into iter 2019-02-14 11:34:55 -08:00
Behdad Esfahbod 28f7736132 [CI] Install more packages
Wish there was a way to streamline this :(.
2019-02-14 11:34:28 -08:00
Behdad Esfahbod 9e7383d124 [CI] Disable cmake-oracledeveloperstudio bot
Weird error:

"/root/project/src/hb-iter.hh", line 277: Error: Type name expected instead of "decltype()".
"/root/project/src/hb-iter.hh", line 278: Error: Invalid type while substituting into Iter::item_t.
"/root/project/src/hb-iter.hh", line 317: Error: Type name expected instead of "decltype()".
"/root/project/src/hb-iter.hh", line 318: Error: Invalid type while substituting into Iter::item_t.
2019-02-13 23:54:36 -08:00
Behdad Esfahbod 4103252323 Merge branch 'master' into iter 2019-02-13 23:46:43 -08:00
Behdad Esfahbod d5287e1ba4 [CI] Install wget on clang-O3-O0 bot 2019-02-13 23:46:17 -08:00
Behdad Esfahbod f1b8934400 [CI] Remove macos-notest-ios bot
Not sure what ancient compiler it is (gcc 4.2?), but didn't like hb_zip SFINAE
apparently:

In file included from /Users/distiller/project/src/hb-aat-layout.cc:28:
In file included from /Users/distiller/project/src/hb-open-type.hh:32:
In file included from /Users/distiller/project/src/hb.hh:642:
/Users/distiller/project/src/hb-iter.hh:364:1: note: candidate template ignored: substitution failure [with A = OT::Coverage, B = OT::OffsetArrayOf<OT::ChainRuleSet>]: non-type template argument does not refer to any declaration
hb_zip (const A& a, const B &b)
^
In file included from /Users/distiller/project/src/hb-aat-layout.cc:37:
In file included from /Users/distiller/project/src/hb-aat-layout-kerx-table.hh:31:
In file included from /Users/distiller/project/src/hb-kern.hh:32:
/Users/distiller/project/src/hb-ot-layout-gpos-table.hh:725:20: error: no matching function for call to 'hb_zip'
    for (auto it = hb_zip (this+coverage, pairSet)
                   ^~~~~~

Not going to try to appease.
2019-02-13 23:30:21 -08:00
Behdad Esfahbod 7d2376de33 Merge branch 'master' into iter 2019-02-13 22:13:37 -08:00
Ebrahim Byagowi f55e7bf583
[ci] Install 'base-devel' on ArchLinux CI bot 2019-02-10 01:08:05 +03:30
Ebrahim Byagowi 8f4eb919bd
[ci] Install 'which' in ArchLinux bot 2019-02-09 16:58:02 +03:30
Ebrahim Byagowi 0229434961
[ci] Speculative fix for Alpine and ArchLinux bots 2019-02-09 16:33:28 +03:30
Ebrahim Byagowi 84694af723
[ci] Disable the just added bot
Doesn't play well with CircleCI apparently

https://circleci.com/gh/harfbuzz/harfbuzz/74289
2019-02-08 15:30:17 +03:30
Ebrahim Byagowi 81ae4974e3
[ci] Add a Void Linux bot
https://voidlinux.org/ is yet another and different distro written from scratch, thus completely eligible to have a bot here!

Seriously however not that useful yet however but I will try to overload it other tasks later, like our other bots.

No test yet also, couldn't install cairo-devel, will try to fix that later.

Their harfbuzz package source: https://github.com/void-linux/void-packages/blob/master/srcpkgs/harfbuzz/template
2019-02-08 15:18:26 +03:30
Behdad Esfahbod 4aa4eedfd5 [ci] Switch clang-O3-O0 bot to Ubuntu image
https://github.com/harfbuzz/harfbuzz/issues/1566
2019-01-30 15:02:29 -08:00
Behdad Esfahbod a84b0145ea [ci] Disable -Wunused-template on -Weverything bot
./hb-algs.hh:37:3: error: unused function template 'operator()' [-Werror,-Wunused-template]
  operator () (const T& v) const { return v; }
  ^
2019-01-30 14:42:48 -08:00
Behdad Esfahbod b270cee6c5 [CI] Remove gcc 4.2 bots
We don't support that version anymore.
2019-01-22 12:29:05 +01:00
Behdad Esfahbod dc0f98298e [ci] Remove unused config for gcc 4.2
[skip ci]
2019-01-20 20:12:12 -05:00
Behdad Esfahbod eaa9023634 [ci] Disable other gcc 4.2 bot 2019-01-20 20:12:12 -05:00
Behdad Esfahbod d12b80c05a [ci] Disable macos-llvm-gcc-4.2 again
Not C++11.
2019-01-20 20:12:12 -05:00
Behdad Esfahbod e1302842d9 [ci] Remove unnecessary warning declarations
clang -Weverything still left to be ported to pragmas
2019-01-17 19:12:07 -05:00
Ebrahim Byagowi 97f67a3c3d
[ci] Enable more of GCC compile warnings (#1533) 2019-01-04 23:10:39 +03:30
cclauss 26c5b54fb0 CircleCI: Test for Python 3 syntax errors and undefined names (#1522)
Catch missing imports and errors like #1520 and #1521

__E901,E999,F821,F822,F823__ are the "_showstopper_" [flake8](http://flake8.pycqa.org) issues that can halt the runtime with a SyntaxError, NameError, etc. Most other flake8 issues are merely "style violations" -- useful for readability but they do not effect runtime safety.
* F821: undefined name `name`
* F822: undefined name `name` in `__all__`
* F823: local variable name referenced before assignment
* E901: SyntaxError or IndentationError
* E999: SyntaxError -- failed to compile a file into an Abstract Syntax Tree
2018-12-31 07:00:43 +03:30
Ebrahim Byagowi b65645bbaf
[ci] Re-enable llvm-gcc-4.2 bots (#1429) 2018-11-29 23:57:50 +03:30
Ebrahim Byagowi 19863c8059
[test][aat] Add a test and make macOS runners faster (#1422) 2018-11-28 20:28:42 +03:30
Ebrahim Byagowi b518e5af9f
Add 10.13.6 aat fonts tests and bot (#1409) 2018-11-25 01:39:00 +03:30
Ebrahim Byagowi 341851efe1
[aat] Add macOS specific tests (#1404) 2018-11-23 15:40:05 +03:30
Ebrahim Byagowi 073d0a9fbc
[ci] minor 2018-11-08 10:59:50 +03:30
Ebrahim Byagowi f7a08cd41d
Fix extra semicolon issues and test that on CI (#1330) 2018-10-30 11:29:09 +03:30
Ebrahim Byagowi 1b7bfb5e18
[cmake] Make build of tests and subset optional (#1329) 2018-10-30 10:19:40 +03:30
Ebrahim Byagowi e1b8e933f0
[ci] Disable llvm-gcc
#define Null(Type) Null<typename hb_remove_const<typename hb_remove_reference<Type>::value>::value>()

raises:
  hb-blob.cc: In function 'hb_blob_t* hb_blob_get_empty()':
  hb-blob.cc:194: error: using 'typename' outside of template
  hb-blob.cc:194: error: using 'typename' outside of template

Removing "typename"s fixes the issue but makes newer compiler fail apparently.

Probably downstream can patch that locally till we get a solution.
2018-10-23 09:23:48 +03:30
Ebrahim Byagowi 0ecddad7c5
[ci] Disable flaky -windows-x64 and add a comment for iOS 2018-10-22 00:44:28 +03:30
Ebrahim Byagowi 964ae32aac
Run valgrind on run-shape-fuzzer only when RUN_VALGRIND is set (#1285) 2018-10-20 07:39:18 +03:30
Ebrahim Byagowi 093c7c4a54 [ci] Run valgrind on test/api
run-shape-fuzzer-tests.py automatically runs valgrind if see available
but test/api runs it by request, we probably should normalize the approaches
later
2018-10-19 19:46:41 +03:30
Ebrahim Byagowi b7cef8cb1d Enable valgrind and dedicate a bot to it 2018-10-19 09:39:36 +03:30
Ebrahim Byagowi 03e144135b
[ubsan] Use unsigned int instead enum where needed (#1270)
Actually the check is right,

On -myanmar.hh, on that particular switch, OT_C is indic_category_t
but OT_D is myanmar_category_t so we are mixing the types in one variable.

And on -arabic.cc, step can goes one number higher than step_t enum in the
loop so we are actually using it as an unsinged int.
2018-10-18 11:06:37 +03:30
Ebrahim Byagowi af99b20dfd
[ci/ubsan] Disable enum sanitization
Behdad apparently not interested on them
2018-10-18 08:35:20 +03:30
Ebrahim Byagowi 187df7d7a9
[circleci] Add an iOS bot (#1233) 2018-10-10 17:12:52 +03:30
Ebrahim Byagowi f58c517589
Make msan output a little more readable 2018-10-06 22:42:56 +03:30
Ebrahim Byagowi 5de2d9cdbd
Minor, fix double-promotion warnings (#1221) 2018-10-04 02:14:18 +03:30
Ebrahim Byagowi c2c7e6471c
State our graphite2 dependency no-deprecated compile flag (#1220) 2018-10-04 00:29:40 +03:30
Ebrahim Byagowi 6353cc1f83
[circleci] Fix some of warnings from clang-everything bot (#1211)
* -Wshift-sign-overflow
* -Wmissing-prototypes
2018-10-02 21:39:19 +03:30
Ebrahim Byagowi 9742679b82
[circleci] Remove some of the not needed flags 2018-10-02 03:20:48 +03:30
Ebrahim Byagowi f72b748371
[circleci] Fix "msan" and "everything" bots (#1205) 2018-10-02 00:16:08 +03:30
Ebrahim Byagowi 0fa1edbd3b
[circleci] Couple of fixes (#1200)
* Raise error on warnings on -everything
* Enable fontconfig to two bots
* Fix msan bot now that all of its real complain are gone
2018-10-01 09:40:29 +03:30
Behdad Esfahbod 3babb0813c [msan] Disable icu explicitly 2018-09-30 20:02:30 +02:00
Behdad Esfahbod dc9b47ae87 [msan] Remove uninstrumented libraries 2018-09-30 18:35:12 +02:00
Ebrahim Byagowi 0a89f9572f
[circleci] Pass ‌freetype compile flags to right place 2018-09-30 17:44:15 +03:30
Ebrahim Byagowi ad701f05cc
[circleci] Use an instrumented freetype on msan bot 2018-09-30 17:30:42 +03:30
Ebrahim Byagowi 57aabbc29e
[circleci] Another on fixing msan 2018-09-30 16:31:28 +03:30
Ebrahim Byagowi 24f148df3e
[circleci] minor 2018-09-30 14:46:56 +03:30
Ebrahim Byagowi 0a9aab6722
[circleci] Try to fix msan bot 2018-09-30 14:45:43 +03:30
Ebrahim Byagowi 06be2aa93f
[ci] Build glib and freetype and enable msan bot (#1198) 2018-09-30 00:15:25 +03:30
Ebrahim Byagowi 678beff64c
[circleci] Add -Wno-reserved-id-macro to clang-everything 2018-09-29 10:16:14 +03:30
Ebrahim Byagowi 909a07b587
[circleci] Improve clang-everything bot log, more to come
#1196
2018-09-29 03:10:13 +03:30
Ebrahim Byagowi 0c1d852bc4
Use clang for compiling freetype for tsan bot 2018-09-27 11:53:17 +03:30
Ebrahim Byagowi c9c75fe3d9
[ci] Compile freetype on tsan and put sanitizer flags on correct places (#1188) 2018-09-27 00:08:06 +03:30
Ebrahim Byagowi 4b4be7701f
[circle] Add an obsessive clang bot (#1178) 2018-09-25 09:24:35 +03:30
Behdad Esfahbod 8282e881b5 Disable msan bot again
Fixes https://github.com/harfbuzz/harfbuzz/issues/1175
2018-09-24 19:43:01 -04:00
Ebrahim Byagowi 1020333960
[circleci] Update sanitizer bots with newer clang and Ubuntu version (#1176) 2018-09-25 01:00:32 +03:30
Behdad Esfahbod 12b8baa765 [msan] Enable again to get a build log, and try to play with suppressions 2018-09-24 17:22:39 -04:00
Behdad Esfahbod aec0d3cbc9 [ubsan] Re-enable now that it passes locally 2018-09-24 13:12:15 -04:00
Behdad Esfahbod a96508cfc9 [msan] Add MSAN_OPTIONS=exitcode=42
Default exit value is 77, which causes autotools to "skip" test.
2018-09-24 12:52:42 -04:00
Behdad Esfahbod 45f5aa9790 [circleci] Disable msan and ubsan builds
https://github.com/harfbuzz/harfbuzz/issues/1174
https://github.com/harfbuzz/harfbuzz/issues/1175
2018-09-24 12:43:29 -04:00
Ebrahim Byagowi ae39a53f55 Add bots with address- and thread-sanitizer 2018-09-23 15:23:29 -07:00
Ebrahim Byagowi 5d8cafcf6a
Improve nommap naming and use C style comments on create_from_file (#1084) 2018-07-01 01:54:14 +04:30
Ebrahim Byagowi 71971800ed
[ci] Don't fail on apt update and revive clang-O3-O0 2018-06-27 18:14:52 +04:30
Ebrahim Byagowi 35ce8f31d3
Unify our pipe reader with the fallback reader (#1068)
And assign one bot to use the path always using NOMMAPFILEREADER token.

It's limited to 200mb so no more fun with using /dev/zero on hb-view!
2018-06-25 22:23:43 +04:30
Ebrahim Byagowi 38ae0add70
[ci] Revive the SunCC bot
* Adds libnsl to the bot as it is now needed apparently
* Disables hb-icu, apparently the newer ICU itself is not compatible with SunCC
2018-05-23 13:37:57 +04:30
Ebrahim Byagowi 1d3f4f8351 [ci] Add a build only apple-gcc-4.2 i686 bot 2018-03-25 19:42:14 +04:30