From c82a6153fb927452e77ff520208e2918a2af53cb Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Thu, 9 Nov 2023 15:27:36 +0100 Subject: github actions: Enable --enable-compile-warnings=maximum --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c4fddfc5..7fd900ef 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,6 +15,7 @@ concurrency: cancel-in-progress: true env: + CONFIGURE_FLAGS: --enable-compile-warnings=maximum CFLAGS: -g -O2 -Werror=pointer-arith -Werror=implicit-function-declaration JOBS: 2 DEBUG: 1 @@ -116,7 +117,7 @@ jobs: run: | cd mate-panel NOCONFIGURE=1 ./autogen.sh - { ./configure || { cat config.log; exit 1; } ; } + { ./configure ${CONFIGURE_FLAGS} || { cat config.log; exit 1; } ; } - name: Build run: make -C mate-panel -j ${{ env.JOBS }} @@ -210,7 +211,7 @@ jobs: run: | cd mate-panel NOCONFIGURE=1 ./autogen.sh - { ./configure --with-in-process-applets=${{matrix.in-process}} || { cat config.log; exit 1; } ; } + { ./configure ${CONFIGURE_FLAGS} --with-in-process-applets=${{matrix.in-process}} || { cat config.log; exit 1; } ; } - name: Build run: make -C mate-panel -j ${{ env.JOBS }} -- cgit v1.2.1