nightmaremail

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit b2a089c9c561fe73a11b75356b7427005fa84b76
parent 6281b2176efb32293f75976e30885a6bd4ac1170
Author: Rolf Eike Beer <eike@sf-mail.de>
Date:   Sat,  7 Nov 2020 13:49:20 +0100

GitHub: add CI build without obsolete functions

Merge this with the "no catman" build as adding another one for that flag only
isn't really needed as the flags test independent things.

Diffstat:
M.github/workflows/ccpp.yml | 20+++++++++++++++-----
1 file changed, 15 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml @@ -19,17 +19,26 @@ jobs: - { name: gcc-default, cc: gcc, - nroff: nroff + nroff: nroff, + cflags: "" + } + - { + name: gcc-no_obsolete, + cc: gcc, + nroff: nroff, + cflags: "-DDONT_PROVIDE_OBSOLETE" } - { name: clang-default, cc: clang, - nroff: nroff + nroff: nroff, + cflags: "" } - { - name: clang-no_catman, + name: clang-no_obsolete, cc: clang, - nroff: true + nroff: true, + cflags: "-DDONT_PROVIDE_OBSOLETE" } steps: @@ -42,9 +51,10 @@ jobs: OS: ${{ matrix.host }} - name: configure - run: echo "${CC} -O2 -fPIC -Wall -Wshadow -Werror=implicit-function-declaration" > conf-cc + run: echo "${CC} -O2 -fPIC -Wall -Wshadow -Werror=implicit-function-declaration ${CFLAGS}" > conf-cc env: CC: ${{ matrix.config.cc }} + CFLAGS: ${{ matrix.config.cflags }} - name: make run: make it man NROFF=${NROFF}