Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asterisk
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Voice
asterisk
Commits
b169482c
Commit
b169482c
authored
5 years ago
by
Friendly Automation
Committed by
Gerrit Code Review
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge "CI: Add --no-dev-mode option to buildAsterisk.sh"
parents
1ab20c5d
8ae9339f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/CI/buildAsterisk.sh
+12
-4
12 additions, 4 deletions
tests/CI/buildAsterisk.sh
with
12 additions
and
4 deletions
tests/CI/buildAsterisk.sh
+
12
−
4
View file @
b169482c
...
...
@@ -8,6 +8,7 @@ NO_CONFIGURE=0
NO_MENUSELECT
=
0
NO_MAKE
=
0
NO_ALEMBIC
=
0
NO_DEV_MODE
=
0
source
$CIDIR
/ci.functions
set
-e
...
...
@@ -93,7 +94,9 @@ PKGCONFIG=`which pkg-config`
common_config_args
=
"--prefix=/usr
${
_libdir
:+--libdir
=
${
_libdir
}}
--sysconfdir=/etc --with-pjproject-bundled"
$PKGCONFIG
'jansson >= 2.11'
||
common_config_args+
=
" --with-jansson-bundled"
common_config_args+
=
"
${
CACHE_DIR
:+--with-sounds-cache
=
${
CACHE_DIR
}
/sounds --with-externals-cache=
${
CACHE_DIR
}
/externals
}
"
common_config_args+
=
" --enable-dev-mode"
if
[
$NO_DEV_MODE
-eq
0
]
;
then
common_config_args+
=
" --enable-dev-mode"
fi
if
[
$COVERAGE
-eq
1
]
;
then
common_config_args+
=
" --enable-coverage"
fi
...
...
@@ -110,7 +113,10 @@ fi
if
[
$NO_MENUSELECT
-eq
0
]
;
then
runner
${
MAKE
}
menuselect.makeopts
runner menuselect/menuselect
`
gen_mods
enable
DONT_OPTIMIZE BETTER_BACKTRACES MALLOC_DEBUG DO_CRASH TEST_FRAMEWORK
`
menuselect.makeopts
runner menuselect/menuselect
`
gen_mods
enable
DONT_OPTIMIZE BETTER_BACKTRACES
`
menuselect.makeopts
if
[
$NO_DEV_MODE
-eq
0
]
;
then
runner menuselect/menuselect
`
gen_mods
enable
MALLOC_DEBUG DO_CRASH TEST_FRAMEWORK
`
menuselect.makeopts
fi
runner menuselect/menuselect
`
gen_mods disable COMPILE_DOUBLE BUILD_NATIVE
`
menuselect.makeopts
if
[
$REF_DEBUG
-eq
1
]
;
then
runner menuselect/menuselect
--enable
REF_DEBUG menuselect.makeopts
...
...
@@ -119,6 +125,10 @@ if [ $NO_MENUSELECT -eq 0 ] ; 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 MENUSELECT_TESTS"
if
[
$NO_DEV_MODE
-eq
0
]
;
then
cat_enables+
=
" MENUSELECT_TESTS"
fi
runner menuselect/menuselect
`
gen_cats
enable
$cat_enables
`
menuselect.makeopts
mod_disables
=
"res_digium_phone chan_vpb"
...
...
@@ -208,5 +218,3 @@ fi
if
[
-f
"doc/core-en_US.xml"
]
;
then
runner
${
MAKE
}
validate-docs
||
${
MAKE
}
NOISY_BUILD
=
yes
validate-docs
fi
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment