Change Alpine and ArchLinux bot to test O3 and O0 on gcc, #801
This commit is contained in:
parent
a64eacd8a6
commit
53cf61b029
|
@ -15,23 +15,25 @@ jobs:
|
||||||
- run: rm -rf harfbuzz-*
|
- 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
|
- 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:
|
docker:
|
||||||
- image: alpine
|
- image: alpine
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run: apk update && apk add ragel make pkgconfig libtool autoconf automake gettext gcc g++ glib-dev freetype-dev cairo-dev
|
- 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
|
||||||
- run: make check || .ci/fail.sh
|
- run: make check || .ci/fail.sh
|
||||||
|
|
||||||
archlinux-debug:
|
archlinux-debug-O0:
|
||||||
docker:
|
docker:
|
||||||
- image: base/devel
|
- image: base/devel
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run: pacman --noconfirm -Syu freetype2 cairo icu gettext gobject-introspection gcc gcc-libs glib2 graphite pkg-config ragel python
|
- 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
|
||||||
- run: make check || .ci/fail.sh
|
- run: make check || .ci/fail.sh
|
||||||
|
|
||||||
|
@ -149,8 +151,8 @@ workflows:
|
||||||
- distcheck
|
- distcheck
|
||||||
|
|
||||||
# autotools based builds
|
# autotools based builds
|
||||||
- alpine
|
- alpine-O3
|
||||||
- archlinux-debug
|
- archlinux-debug-O0
|
||||||
- fedora-outoftreebuild
|
- fedora-outoftreebuild
|
||||||
|
|
||||||
# cmake based builds
|
# cmake based builds
|
||||||
|
|
Loading…
Reference in New Issue