summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-07-13 15:48:24 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-07-13 15:49:41 -0700
commit1bc30844ebf6ee3b7b14101f34defbd65ff85134 (patch)
treed4484833e2a38903a53b12102f701e9644528b9f
parentdff14856677de1e09a72204970bb725a19ebbebd (diff)
gitlab CI: build with both --enable-xtrans & --disable-xtrans
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-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