]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
github: Add a GTK4 build of the NM plugin nm-ci
authorTobias Brunner <tobias@strongswan.org>
Thu, 5 Jan 2023 10:24:08 +0000 (11:24 +0100)
committerTobias Brunner <tobias@strongswan.org>
Thu, 5 Jan 2023 10:24:08 +0000 (11:24 +0100)
.github/workflows/linux.yml
scripts/test.sh

index fbfd5d20e94c4bfde1ac283d6a47e64bac6f6f1c..daf6dfdacbc2c1f7839a23c273afcc32b5415d35 100644 (file)
@@ -45,6 +45,7 @@ jobs:
           - test: coverage
           - test: dist
           - test: nm
+          - test: nm-gtk4
           - test: fuzzing
             compiler: clang
             monolithic: yes
index c02e2a72a4bbb9fec1d31dbf0fede2152c061671..8cbd316311e97e2385ecacca21c42cc7be6fdfa1 100755 (executable)
@@ -383,8 +383,12 @@ fuzzing)
                        symbolize=1:handle_segv=1:fast_unwind_on_fatal=0:external_symbolizer_path=/usr/bin/llvm-symbolizer-3.5
        fi
        ;;
-nm)
+nm|nm-*)
        DEPS="gnome-common libsecret-1-dev libgtk-3-dev libnm-dev libnma-dev"
+       if test "$TEST" = "nm-gtk4"; then
+               DEPS="$DEPS libgtk-4-dev libnma-gtk4-dev"
+               CONFIG="--with-gtk4"
+       fi
        cd src/frontends/gnome
        # don't run ./configure with ./autogen.sh
        export NOCONFIGURE=1