From 53cf61b0299775f94c625de1bb0a7979b3b0c379 Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Tue, 20 Feb 2018 10:53:10 +0330 Subject: [PATCH] Change Alpine and ArchLinux bot to test O3 and O0 on gcc, #801 --- .circleci/config.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5c27bb35..e30b5b45 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,23 +15,25 @@ jobs: - run: 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: + alpine-O3: docker: - image: alpine steps: - checkout - run: apk update && apk add ragel make pkgconfig libtool autoconf automake gettext gcc g++ glib-dev freetype-dev cairo-dev - - run: ./autogen.sh + # C??FLAGS are not needed for a regular build + - run: CFLAGS="-O3" CXXFLAGS="-O3" ./autogen.sh - run: make - run: make check || .ci/fail.sh - archlinux-debug: + archlinux-debug-O0: docker: - image: base/devel steps: - checkout - run: pacman --noconfirm -Syu freetype2 cairo icu gettext gobject-introspection gcc gcc-libs glib2 graphite pkg-config ragel python - - run: CPPFLAGS="-DHB_DEBUG" ./autogen.sh --with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2 + # 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 - run: make check || .ci/fail.sh @@ -149,8 +151,8 @@ workflows: - distcheck # autotools based builds - - alpine - - archlinux-debug + - alpine-O3 + - archlinux-debug-O0 - fedora-outoftreebuild # cmake based builds -- GitLab