summaryrefslogtreecommitdiff
path: root/.circleci
diff options
context:
space:
mode:
authorEbrahim Byagowi <ebrahim@gnu.org>2019-01-04 23:10:39 +0330
committerGitHub <noreply@github.com>2019-01-04 23:10:39 +0330
commit97f67a3c3d499959d33e66aeed449e2957a14bc6 (patch)
tree225e67dd30bd3105a21e8cb1015b542534f25797 /.circleci
parentad954870383a880262edcd01acd8e171c4614a68 (diff)
downloadharfbuzz-97f67a3c3d499959d33e66aeed449e2957a14bc6.tar.gz
[ci] Enable more of GCC compile warnings (#1533)
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml16
1 files changed, 8 insertions, 8 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index aa1b684a..db763614 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -81,7 +81,7 @@ jobs:
- run: make -j32
- run: make check || .ci/fail.sh
- archlinux-debug-O0-py3:
+ archlinux-py3-all:
docker:
- image: base/devel
steps:
@@ -90,9 +90,9 @@ jobs:
- run: pip install flake8 fonttools
- run: flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
# C??FLAGS are not needed for a regular build
- - run: CFLAGS="-O0" CXXFLAGS="-O0" CPPFLAGS="-DHB_DEBUG" ./autogen.sh --with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2
- - run: make -j32
- - run: make check || .ci/fail.sh
+ - run: CFLAGS="-Wall -Wextra -Wno-cast-function-type" CXXFLAGS="-Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-class-memaccess -Wpedantic -Wno-format -Wno-cast-function-type" ./autogen.sh --with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2
+ - run: make -j32 CPPFLAGS="-Werror"
+ - run: make check CPPFLAGS="-Werror" || .ci/fail.sh
clang-O3-O0:
docker:
@@ -208,13 +208,13 @@ jobs:
- run: make -j32
- run: make check || .ci/fail.sh | asan_symbolize | c++filt
- fedora-outoftreebuild:
+ fedora-O0-debug-outoftreebuild:
docker:
- image: fedora
steps:
- 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: CFLAGS="-O0" CXXFLAGS="-O0" CPPFLAGS="-DHB_DEBUG" 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 || ../.ci/fail.sh)
cmake-gcc:
@@ -331,7 +331,7 @@ workflows:
# autotools based builds
- alpine-O3-NOMMAP
- - archlinux-debug-O0-py3
+ - archlinux-py3-all
- gcc-valgrind
- clang-O3-O0
- clang-everything
@@ -339,7 +339,7 @@ workflows:
- clang-msan
- clang-tsan
- clang-ubsan
- - fedora-outoftreebuild
+ - fedora-O0-debug-outoftreebuild
# cmake based builds
- cmake-gcc