[libxml2] Add --with-minimum build to CI tests
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] Add --with-minimum build to CI tests
- Date: Thu, 21 Apr 2022 05:00:33 +0000 (UTC)
commit ad098030adf0af579a512059eaf6196d55aa93af
Author: Nick Wellnhofer <wellnhofer aevum de>
Date: Thu Apr 21 06:23:55 2022 +0200
Add --with-minimum build to CI tests
.gitlab-ci.yml | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6f6d80cc..bb3c3723 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,10 +16,12 @@
# WORKDIR /tests
# RUN curl https://www.w3.org/XML/Test/xmlts20080827.tar.gz |tar xz
image: registry.gitlab.gnome.org/gnome/libxml2
+ variables:
+ BASE_CONFIG: "--with-ftp --with-legacy --with-xptr-locs"
script:
- |
ln -s /tests/xmlconf
- sh autogen.sh --with-ftp --with-legacy --with-xptr-locs $CONFIG
+ sh autogen.sh $BASE_CONFIG $CONFIG
make -j$(nproc) V=1 CFLAGS="$CFLAGS -Werror"
make CFLAGS="$CFLAGS -Werror" check
@@ -28,6 +30,12 @@ gcc:
variables:
CFLAGS: "-O2 -std=c89 -D_XOPEN_SOURCE=700"
+gcc:minimum:
+ extends: .test
+ variables:
+ BASE_CONFIG: "--with-minimum"
+ CFLAGS: "-O2"
+
gcc:python3:
extends: .test
variables:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]