From: Tom Hromatka Date: Mon, 12 Apr 2021 15:51:12 +0000 (-0600) Subject: github: Convert all compiler warnings to errors X-Git-Tag: v2.0.rc1~2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f54cdb1c06c02b63c6afdda8fd3160757a947a2;p=thirdparty%2Flibcgroup.git github: Convert all compiler warnings to errors For the continuous integration in Github Actions, convert all compiler warnings to errors. Signed-off-by: Tom Hromatka --- diff --git a/.github/actions/setup-libcgroup/action.yml b/.github/actions/setup-libcgroup/action.yml index 1d88f388..f6d9dd2b 100644 --- a/.github/actions/setup-libcgroup/action.yml +++ b/.github/actions/setup-libcgroup/action.yml @@ -28,7 +28,7 @@ runs: shell: bash - run: ./bootstrap.sh shell: bash - - run: CFLAGS="$CFLAGS -g -O0" ./configure --sysconfdir=/etc --localstatedir=/var --enable-code-coverage --enable-opaque-hierarchy="name=systemd" + - run: CFLAGS="$CFLAGS -g -O0 -Werror" ./configure --sysconfdir=/etc --localstatedir=/var --enable-code-coverage --enable-opaque-hierarchy="name=systemd" shell: bash - run: make shell: bash