summaryrefslogtreecommitdiff
path: root/.circleci
diff options
context:
space:
mode:
authorEbrahim Byagowi <ebrahim@gnu.org>2018-02-15 00:43:46 +0330
committerGitHub <noreply@github.com>2018-02-15 00:43:46 +0330
commit581996ea7976847b6356c9cc81b564f0c278f0f3 (patch)
tree97ed2bbc9050a70ff4fdc3e8aec0e50c15db170e /.circleci
parentccae99fdadcf86aeda15dc230a3ddcd6ff176533 (diff)
Add .collect_logs and use it on CI bots, fixes #786 (#789)
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index c90ef4c4..4788f0b0 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -9,7 +9,7 @@ jobs:
- checkout
- run: apt update && apt install -y ninja-build binutils libtool autoconf automake make cmake gcc g++ pkg-config ragel gtk-doc-tools libfreetype6-dev libglib2.0-dev libcairo2-dev libicu-dev libgraphite2-dev python python-pip
- run: pip install fonttools
- - run: ./autogen.sh && make distcheck && rm -rf harfbuzz-*
+ - run: ./autogen.sh && (make distcheck || (cd harfbuzz-* && ../.collect_logs && false)) && rm -rf harfbuzz-*
- run: make distdir && cd harfbuzz-* && cmake -DHB_CHECK=ON -Bbuild -H. -GNinja && ninja -Cbuild && CTEST_OUTPUT_ON_FAILURE=1 ninja -Cbuild test && ninja -Cbuild install
alpine:
@@ -19,7 +19,7 @@ jobs:
- checkout
- run: apk update && apk add ragel make pkgconfig libtool autoconf automake gettext gcc g++ glib-dev freetype-dev cairo-dev
- run: ./autogen.sh
- - run: make && (make check || (cat `find -name '*.log'` && false))
+ - run: make && (make check || (./.collect_logs && false))
archlinux:
docker:
@@ -28,7 +28,7 @@ jobs:
- checkout
- run: pacman --noconfirm -Syu freetype2 cairo icu gettext gobject-introspection gcc gcc-libs glib2 graphite pkg-config ragel python
- run: ./autogen.sh --with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2
- - run: make && (make check || (cat `find -name '*.log'` && false))
+ - run: make && (make check || (./.collect_logs && false))
fedora-outoftreebuild:
docker:
@@ -37,7 +37,7 @@ jobs:
- checkout
- run: dnf install -y pkg-config ragel gcc gcc-c++ automake autoconf libtool make which glib2-devel freetype-devel cairo-devel libicu-devel gobject-introspection-devel graphite2-devel redhat-rpm-config python || true
- run: NOCONFIGURE=1 ./autogen.sh --with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2
- - run: mkdir build && cd build && ../configure && make && (make check || (cat `find -name '*.log'` && false))
+ - run: mkdir build && cd build && ../configure && make && (make check || (./.collect_logs && false))
cmake-gcc:
docker: