CI: move the configure flags into a variable

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2019-11-15 14:32:07 +10:00
parent 6c4981393e
commit 74d4a3d11d

View file

@ -83,7 +83,7 @@ variables:
.default_build: &default_build
script:
- autoreconf -ivf
- ./configure --disable-silent-rules
- ./configure --disable-silent-rules $CONFIGURE_FLAGS
- make
- make check
<<: *default_artifacts
@ -91,7 +91,7 @@ variables:
.default_build_distcheck: &default_build_distcheck
script:
- autoreconf -ivf
- ./configure --disable-silent-rules
- ./configure --disable-silent-rules $CONFIGURE_FLAGS
- make
- make check
- make distcheck
@ -500,10 +500,6 @@ centos:7@no-nm:
centos:7@enable-gcov:
extends: .centos-custom-build@template
script:
- autoreconf -ivf
- ./configure --disable-silent-rules --enable-gcov
- make
- make check
- make distcheck
<<: *default_artifacts
variables:
CONFIGURE_FLAGS: "--enable-gcov"