]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
github: Add compile test with --without-testable-ke option
authorTobias Brunner <tobias@strongswan.org>
Fri, 28 Mar 2025 11:23:09 +0000 (12:23 +0100)
committerTobias Brunner <tobias@strongswan.org>
Thu, 10 Apr 2025 06:31:09 +0000 (08:31 +0200)
.github/workflows/linux.yml
scripts/test.sh

index 7c6b0006722775d35512c2c97866f169f54ea9ea..3aa6fd921eb5f12ae5f664aad31ceea031600abc 100644 (file)
@@ -48,6 +48,9 @@ jobs:
           - test: no-dbg
           - test: no-dbg
             compiler: clang
+          - test: no-testable-ke
+          - test: no-testable-ke
+            compiler: clang
           - test: fuzzing
             compiler: clang
             monolithic: yes
index b61f29e662fa655532f5ca1366d18b7f1c1d69bc..59998e415e7619488f2ea424426c0ee9eac1099d 100755 (executable)
@@ -274,7 +274,7 @@ printf-builtin)
                prepare_system_openssl $1
        fi
        ;;
-all|alpine|codeql|coverage|sonarcloud|no-dbg)
+all|alpine|codeql|coverage|sonarcloud|no-dbg|no-testable-ke)
        if [ "$TEST" = "sonarcloud" ]; then
                if [ -z "$SONAR_PROJECT" -o -z "$SONAR_ORGANIZATION" -o -z "$SONAR_TOKEN" ]; then
                        echo "The SONAR_PROJECT, SONAR_ORGANIZATION and SONAR_TOKEN" \
@@ -304,6 +304,9 @@ all|alpine|codeql|coverage|sonarcloud|no-dbg)
                DEPS="$DEPS lcov"
                TARGET="coverage"
        fi
+       if [ "$TEST" = "no-testable-ke" ]; then
+               CONFIG="$CONFIG --without-testable-ke"
+       fi
        DEPS="$DEPS libcurl4-gnutls-dev libsoup2.4-dev libunbound-dev libldns-dev
                  libmysqlclient-dev libsqlite3-dev clearsilver-dev libfcgi-dev
                  libldap2-dev libpcsclite-dev libpam0g-dev binutils-dev libnm-dev