From 13ab0122fc38462d16b2aa920167220ca196f15d Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 22 Apr 2024 10:17:16 +0200 Subject: [PATCH] github: test with --enable-debug=no configure option In this case, only test it with clang. It seems not worth building everything twice toggling only this option. --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 708928e9..25bb0b9c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -71,15 +71,17 @@ jobs: export CC="${{ matrix.cc }}" export CFLAGS="-DNL_MORE_ASSERTS=1000 -O2 -Werror -Wall -Wdeclaration-after-statement -Wvla -std=gnu11 -fexceptions" + CONFIGURE_ARGS= if [ "$CC" = "clang" ]; then CFLAGS="$CFLAGS -Wno-error=unused-command-line-argument -Wno-error=unused-function" export LDFLAGS="-Wl,--no-undefined-version,--fatal-warnings" + CONFIGURE_ARGS="--enable-debug=no" else export LDFLAGS="-Wl,--no-undefined-version" fi ./autogen.sh - ./configure + ./configure $CONFIGURE_ARGS make -j 5 shell: bash