Commit Graph

205 Commits

Author SHA1 Message Date
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
Ebrahim Byagowi
2a23606339
Fix llvm-gcc-4.2 compile issue and add a macOS bot to test it (#899) 2018-03-23 18:37:01 +04:30
Ebrahim Byagowi
dbadb871d1
[ci] Enable subset tests on ArchLinux to test
This makes ArchLinux bots fail, a starting point to #873
2018-03-09 15:25:59 +03:30
Ebrahim Byagowi
a8d3c2c030
[ci] Add clang O3/O0 testers (#834) 2018-02-24 16:42:12 +03:30
Ebrahim Byagowi
53cf61b029
Change Alpine and ArchLinux bot to test O3 and O0 on gcc, #801 2018-02-20 10:53:10 +03:30
Ebrahim Byagowi
be51f763a7
Test debug builds on ArchLinux bot
Fixes #805
2018-02-19 11:06:13 +03:30
Khaled Hosny
8e3b4c0e11 Simplify calls to collect-logs.sh 2018-02-16 22:01:33 +02:00
Khaled Hosny
23d21a74b5 Move collect_logs to .ci dir
Next to other CI scripts.
2018-02-15 10:11:57 +02:00
Ebrahim Byagowi
581996ea79
Add .collect_logs and use it on CI bots, fixes #786 (#789) 2018-02-15 00:43:46 +03:30
Ebrahim Byagowi
ae6d0259b4
Install fonttools on two bots and enable cmake hb-subset test (#777) 2018-02-11 15:40:55 +03:30
Ebrahim Byagowi
8b60e7c2c3
[ci] minor, less hacks (#722) 2018-01-22 18:37:26 +03:30
Ebrahim Byagowi
aaf934de3b
[ci] minor (#721) 2018-01-22 13:16:54 +03:30
Ebrahim Byagowi
bd752db733
[ci] unbreak bots with outdated freetype version (#718) 2018-01-22 13:08:35 +03:30
Ebrahim Byagowi
00806149b9
Improve avoiding C++ linkage, definition creation and cmake tests (#710) 2018-01-19 01:12:31 +03:30
Ebrahim Byagowi
c97a7eca7f
[cmake] Fix symbols visibility and enable check-symbols.sh test (#705) 2018-01-16 14:18:09 +03:30
Behdad Esfahbod
d514f1480c [circleci] cat test logs on failure on autotools-based builds 2018-01-12 10:55:44 +01:00
Ebrahim Byagowi
ebb9b7d633
[test] Print shaping output on CI fails (#695) 2018-01-11 08:15:06 +03:30
Ebrahim Byagowi
e24bea8e91
[cmake] Another try on making sure feature testing is working (#691) 2018-01-10 23:51:56 +03:30
Ebrahim Byagowi
71e0ed9cba
[cmake] Add header existence tests (#685) 2018-01-10 15:45:12 +03:30
Ebrahim Byagowi
72bec1cd09
Improve tests (#679) 2018-01-05 12:42:20 +03:30
Ebrahim Byagowi
5ed26fc5bd
[cmake] Run src/ tests (#675) 2018-01-04 10:11:34 +03:30
Ebrahim Byagowi
70807ad274
Fix make check issue on out-of-tree builds and test it (#672) 2018-01-02 23:52:12 +03:30
Ebrahim Byagowi
2dbdeb1421
[cmake] Run fuzzing and shaping tests (#666) 2017-12-29 23:13:29 +03:30
Ebrahim Byagowi
50163976d2
[cmake] Enable cmake tests on distribution and test it (#664) 2017-12-25 01:55:48 +03:30
Ebrahim Byagowi
9890782736
[ci] Add -Wno-attributes to djgpp, add alpine, format (#663) 2017-12-25 01:32:46 +03:30
Ebrahim Byagowi
81dfc29d2d
[ci] Add a DOS/djgpp compiler (#659) 2017-12-21 20:15:37 +03:30
ebraminio
71ad2777c5
[ci] Add an after distribution test runner (#648) 2017-12-07 11:35:36 +03:30
ebraminio
5a6d2b986a
[ci] minor improvements (#644) 2017-12-06 18:27:27 +03:30
Khaled Hosny
840a32e3f3 Run cmake tests on CI builds 2017-12-06 15:25:10 +02:00
ebraminio
cd8c62fd41
[ci] Add Oracle Developer Studio (former Sun Studio) based compiler (#621) 2017-11-21 01:07:26 -05:00
ebraminio
4a591a0e51
[ci] Add ArchLinux (#604) 2017-11-02 09:33:12 -07:00
ebraminio
292ef2675e
[ci] minor cleanup (#600) 2017-11-01 16:24:46 -07:00
ebraminio
260246a279
[ci] Add Fedora builder (#598) 2017-11-01 14:10:55 -07:00
ebraminio
33e62636f7
[ci] Add FreeBSD9 (gcc4) (#595) 2017-11-01 03:05:46 -07:00
ebraminio
102f5ead49
Enable PSVita (arm-none-eabi) compile again and add it to CI (#594) 2017-11-01 02:10:18 -07:00
Behdad Esfahbod
65d4e5bcda [CircleCI] Ignore gh-pages branch
https://github.com/behdad/harfbuzz/pull/592
2017-11-01 01:15:27 -06:00
Behdad Esfahbod
b902605133 [CircleCI] Fix build
Fixes https://github.com/behdad/harfbuzz/issues/589
2017-10-31 14:25:46 -06:00
ebraminio
b7982c9e65
[ci] Add CircleCI for cross-compiling (#592) 2017-10-31 12:42:08 -07:00