From 3f54cdb1c06c02b63c6afdda8fd3160757a947a2 Mon Sep 17 00:00:00 2001 From: Tom Hromatka Date: Mon, 12 Apr 2021 09:51:12 -0600 Subject: [PATCH] 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 --- .github/actions/setup-libcgroup/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2