diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2022-09-06 13:14:52 +0200 |
---|---|---|
committer | Nick Wellnhofer <wellnhofer@aevum.de> | 2022-09-06 17:32:01 +0200 |
commit | 78e0bf427715d885d1a1d53df45a5d6535536a36 (patch) | |
tree | cf2ca795efc7a01c388ec0c7cb20a0bd014b96c9 /.gitlab-ci/test.sh | |
parent | 75ff08037ddfc6db9c82e936a4f8714acf674011 (diff) | |
download | libxslt-78e0bf427715d885d1a1d53df45a5d6535536a36.tar.gz |
gitlab-ci: Add CI job for MinGW/Autotools
- Move some common scripts to .gitlab-ci
- Simplify test.sh
Diffstat (limited to '.gitlab-ci/test.sh')
-rw-r--r-- | .gitlab-ci/test.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.gitlab-ci/test.sh b/.gitlab-ci/test.sh new file mode 100644 index 00000000..fcef8704 --- /dev/null +++ b/.gitlab-ci/test.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +set -e + +git clone --depth 1 https://gitlab.gnome.org/GNOME/libxml2.git +cd libxml2 +sh autogen.sh $CONFIG +make -j$(nproc) +cd .. + +sh autogen.sh $CONFIG --with-libxml-src=libxml2 +make -j$(nproc) V=1 CFLAGS="$CFLAGS -Werror" +make -s -C tests tests | tee test.log +make -s -C xsltproc tests | tee -a test.log +grep -qv '^## Running' test.log && exit 1 +make -s -C python tests |