summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml16
1 files changed, 14 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 762b986..84f26d4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -83,7 +83,7 @@ container-prep:
#
# The default build, runs on the image built above.
#
-build:
+.autoconf-common:
stage: build
extends:
- .fdo.distribution-image@arch
@@ -91,8 +91,20 @@ build:
- autoreconf -ivf
- mkdir _builddir
- pushd _builddir > /dev/null
- - ../configure --disable-silent-rules
+ - ../configure --disable-silent-rules $CONFIG_FLAGS
- make
- make check
- make distcheck
- popd > /dev/null
+
+enable-xtrans:
+ extends:
+ - .autoconf-common
+ variables:
+ CONFIG_FLAGS: --enable-xtrans
+
+disable-xtrans:
+ extends:
+ - .autoconf-common
+ variables:
+ CONFIG_FLAGS: --disable-xtrans