]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
CI: Don't enable non-core modules in Certified branches
authorGeorge Joseph <gjoseph@digium.com>
Wed, 24 Jul 2019 20:15:27 +0000 (14:15 -0600)
committerGeorge Joseph <gjoseph@digium.com>
Wed, 24 Jul 2019 20:24:06 +0000 (14:24 -0600)
We don't support non-core modules for Certified releases but we
were enabling them for CI builds which was causing lots of test
failures.  Now we don't.

Change-Id: I0b3254c08a2479f3d39151690350cce5ce5ad766

tests/CI/buildAsterisk.sh

index 17bb53c03dff4b2571c81b3fde9bb0d827aadce2..6278a477098a9dad82a348d5496c93ecfb2aa604 100755 (executable)
@@ -122,9 +122,13 @@ if [ $NO_MENUSELECT -eq 0 ] ; then
                runner menuselect/menuselect --enable REF_DEBUG menuselect.makeopts
        fi
 
-       cat_enables="MENUSELECT_BRIDGES MENUSELECT_CEL MENUSELECT_CDR"
-       cat_enables+=" MENUSELECT_CHANNELS MENUSELECT_CODECS MENUSELECT_FORMATS MENUSELECT_FUNCS"
-       cat_enables+=" MENUSELECT_PBX MENUSELECT_RES MENUSELECT_UTILS MENUSELECT_TESTS"
+       cat_enables=""
+
+       if [[ ! "${BRANCH_NAME}" =~ ^certified ]] ; then
+               cat_enables+=" MENUSELECT_BRIDGES MENUSELECT_CEL MENUSELECT_CDR"
+               cat_enables+=" MENUSELECT_CHANNELS MENUSELECT_CODECS MENUSELECT_FORMATS MENUSELECT_FUNCS"
+               cat_enables+=" MENUSELECT_PBX MENUSELECT_RES MENUSELECT_UTILS"
+       fi
 
        if [ $NO_DEV_MODE -eq 0 ] ; then
                cat_enables+=" MENUSELECT_TESTS"