commit 6281b2176efb32293f75976e30885a6bd4ac1170
parent 172ce82f8484f597dc10411882ee34710eb80b1e
Author: Rolf Eike Beer <eike@sf-mail.de>
Date: Sat, 7 Nov 2020 13:41:06 +0100
GitHub: add build set without catman pages
Diffstat:
1 file changed, 21 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml
@@ -9,13 +9,28 @@ on:
jobs:
build:
- name: build​
+ name: ${{ matrix.host }}-${{ matrix.config.name }}
runs-on: ${{ matrix.host }}
strategy:
fail-fast: false
matrix:
- cc: [gcc, clang]
host: [ubuntu-latest, macos-latest]
+ config:
+ - {
+ name: gcc-default,
+ cc: gcc,
+ nroff: nroff
+ }
+ - {
+ name: clang-default,
+ cc: clang,
+ nroff: nroff
+ }
+ - {
+ name: clang-no_catman,
+ cc: clang,
+ nroff: true
+ }
steps:
- name: checkout
@@ -29,10 +44,12 @@ jobs:
- name: configure
run: echo "${CC} -O2 -fPIC -Wall -Wshadow -Werror=implicit-function-declaration" > conf-cc
env:
- CC: ${{ matrix.cc }}
+ CC: ${{ matrix.config.cc }}
- name: make
- run: make it man
+ run: make it man NROFF=${NROFF}
+ env:
+ NROFF: ${{ matrix.config.nroff }}
- name: unittests
run: make test