- name: linux-clang
os: ubuntu-18.04
compiler: clang
+ cflags: ''
- name: linux-gcc
os: ubuntu-18.04
compiler: gcc
+ cflags: '-Wnonnull'
steps:
- name: Clone repository
uses: actions/checkout@v1
/bin/sh ./autogen.sh
mkdir build
cd build
- ../configure --srcdir=`dirname "$PWD"` --enable-maintainer-mode --enable-developer --with-ldap $CONFIGURE_OPTS --prefix=$HOME/inst CFLAGS="-Wno-error=shadow -Wno-error=bad-function-cast -Wno-error=unused-function -Wno-error=unused-result -Wno-error=deprecated-declarations"
+ ../configure --srcdir=`dirname "$PWD"` --enable-maintainer-mode --enable-developer --with-ldap $CONFIGURE_OPTS --prefix=$HOME/inst CFLAGS="${{ matrix.cflags }} -Wno-error=shadow -Wno-error=bad-function-cast -Wno-error=unused-function -Wno-error=unused-result -Wno-error=deprecated-declarations"
make -j4
- name: Test
env: