Hash :
ee0eda4b
Author :
Date :
2025-03-16T18:20:18
gitlab-ci: Silence PHP and lxml test output
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
#!/bin/sh
set -e
srcdir=$(pwd)
mkdir -p install
installdir="$srcdir/install"
export PKG_CONFIG_PATH="$installdir/lib/pkgconfig"
sh autogen.sh "--prefix=$installdir" --without-python
make -j$(nproc)
make install
git clone --depth 1 https://gitlab.gnome.org/GNOME/libxslt.git
cd libxslt
sh autogen.sh \
"--prefix=$installdir" \
"--with-libxml-prefix=$installdir" \
--without-python
make -j$(nproc)
make install
cd ..
git clone --depth 1 https://github.com/php/php-src.git
cd php-src
./buildconf
./configure --with-xsl --enable-soap --enable-debug
make -j$(nproc)
make TESTS=" \
-g FAIL \
--no-progress \
ext/dom \
ext/libxml \
ext/simplexml \
ext/soap \
ext/xml \
ext/xmlreader \
ext/xmlwriter \
ext/xsl \
" test