From 74d4a3d11dfd13b7f2bd39f1cc9698727ac2d8b7 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 15 Nov 2019 14:32:07 +1000 Subject: [PATCH] CI: move the configure flags into a variable Signed-off-by: Peter Hutterer --- .gitlab-ci.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c44f4c9..eb611c3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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" -- 2.7.4