summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2024-04-22 10:17:16 +0200
committerThomas Haller <thaller@redhat.com>2024-04-22 10:31:45 +0200
commit13ab0122fc38462d16b2aa920167220ca196f15d (patch)
tree69e9f401f4a99f0b57c3cc007a959fd1ff8741dd
parent264b244e4d0044d6598d247e94f6d39defaede90 (diff)
downloadlibnl-13ab0122fc38462d16b2aa920167220ca196f15d.tar.gz
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.
-rw-r--r--.github/workflows/ci.yml4
1 files changed, 3 insertions, 1 deletions
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