summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2023-01-19 12:06:38 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2023-01-19 12:06:38 -0800
commit9bc32a1a9c788eed2982d3fd35f2295a95af3817 (patch)
treeaddb90742f5b1ebc3a4d2c9c5edb9303deeb4ccf
parentd9cbea1c6bc2b7f2c11964da0d437130bed82279 (diff)
gitlab CI: build with each of --enable-open-zfile & --disable-open-zfile
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--.gitlab-ci.yml14
1 files changed, 11 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 057c9f1..432ab40 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:
+.default_build:
stage: build
extends:
- .fdo.distribution-image@arch
@@ -91,12 +91,20 @@ build:
- autoreconf -ivf
- mkdir _builddir
- pushd _builddir > /dev/null
- - ../configure --disable-silent-rules --enable-unit-tests
+ - ../configure --disable-silent-rules --enable-unit-tests ${ZOPEN_FLAG}
- make
- make check
- - make distcheck
+ - make distcheck DISTCHECK_CONFIGURE_FLAGS="${ZOPEN_FLAG}"
- popd > /dev/null
artifacts:
when: on_failure
paths:
- _builddir/test/*.log
+
+# Run default build with all different options
+build:
+ extends:
+ - .default_build
+ parallel:
+ matrix:
+ - ZOPEN_FLAG: ["--enable-open-zfile", "--disable-open-zfile"]