[ci] Test -Os and optimize size in Alpine bot
__OPTIMIZE_SIZE__ should be defined whenever -Os but some Internet thread indicate may not so lets do that ourselves as that is the main intention
This commit is contained in:
parent
9407ef8d4b
commit
a228bb5f1d
|
@ -45,7 +45,7 @@ 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-O3-NOMMAP:
|
alpine-O3-Os-NOMMAP:
|
||||||
docker:
|
docker:
|
||||||
- image: alpine
|
- image: alpine
|
||||||
steps:
|
steps:
|
||||||
|
@ -55,6 +55,10 @@ jobs:
|
||||||
- run: CFLAGS="-O3" CXXFLAGS="-O3 -DHB_NO_MMAP" ./autogen.sh
|
- run: CFLAGS="-O3" CXXFLAGS="-O3 -DHB_NO_MMAP" ./autogen.sh
|
||||||
- run: make -j32
|
- run: make -j32
|
||||||
- run: make check || .ci/fail.sh
|
- run: make check || .ci/fail.sh
|
||||||
|
- run: make clean
|
||||||
|
- run: CFLAGS="-Os -D__OPTIMIZE_SIZE__" CXXFLAGS="-Os -DHB_NO_MMAP -D__OPTIMIZE_SIZE__" ./autogen.sh
|
||||||
|
- run: make -j32
|
||||||
|
- run: make check || .ci/fail.sh
|
||||||
|
|
||||||
archlinux-py3-all:
|
archlinux-py3-all:
|
||||||
docker:
|
docker:
|
||||||
|
@ -307,7 +311,7 @@ workflows:
|
||||||
- distcheck
|
- distcheck
|
||||||
|
|
||||||
# autotools based builds
|
# autotools based builds
|
||||||
- alpine-O3-NOMMAP
|
- alpine-O3-Os-NOMMAP
|
||||||
- archlinux-py3-all
|
- archlinux-py3-all
|
||||||
#- void-notest
|
#- void-notest
|
||||||
- gcc-valgrind
|
- gcc-valgrind
|
||||||
|
|
Loading…
Reference in New Issue