Edit

kc3-lang/libxml2/.gitlab-ci/downstream-php.sh

Branch :

  • Show log

    Commit

  • Author : Nick Wellnhofer
    Date : 2025-04-23 17:58:34
    Hash : 097fe87f
    Message : gitlab-ci: Add --show-diff to PHP tests Thanks to @nielsdos for the hint.

  • .gitlab-ci/downstream-php.sh
  • #!/bin/sh
    
    set -e
    
    srcdir=$(pwd)
    installdir="$srcdir/install"
    export PKG_CONFIG_PATH="$installdir/lib/pkgconfig"
    
    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 \
        --show-diff \
        --no-progress \
        ext/dom \
        ext/libxml \
        ext/simplexml \
        ext/soap \
        ext/xml \
        ext/xmlreader \
        ext/xmlwriter \
        ext/xsl \
    " test