From 9bc32a1a9c788eed2982d3fd35f2295a95af3817 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 19 Jan 2023 12:06:38 -0800 Subject: gitlab CI: build with each of --enable-open-zfile & --disable-open-zfile Signed-off-by: Alan Coopersmith --- .gitlab-ci.yml | 14 +++++++++++--- 1 file 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"] -- cgit v1.2.3