diff options
author | Thomas Haller <thaller@redhat.com> | 2024-04-22 08:17:16 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2024-04-22 08:31:45 (GMT) |
commit | 13ab0122fc38462d16b2aa920167220ca196f15d (patch) | |
tree | 69e9f401f4a99f0b57c3cc007a959fd1ff8741dd | |
parent | 264b244e4d0044d6598d247e94f6d39defaede90 (diff) | |
download | libnl-13ab0122fc38462d16b2aa920167220ca196f15d.zip libnl-13ab0122fc38462d16b2aa920167220ca196f15d.tar.gz libnl-13ab0122fc38462d16b2aa920167220ca196f15d.tar.bz2 |
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.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 708928e..25bb0b9 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 |