mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Currently, we're running LINUX_X64 Asan builds on ubuntu-20.04, where libavif-dev is not available, so apt-x64 fails. This PR is a follow up to PR #16049 to pass the respective parameter to apt-x64, and to fix the conditional check in configure-x64. It might be clearer to just have an `avif` parameter or to pass the runner version to these actions, but this should do for now. Closes GH-16130.
85 lines
2.7 KiB
YAML
85 lines
2.7 KiB
YAML
name: ./configure
|
|
inputs:
|
|
configurationParameters:
|
|
default: ''
|
|
required: false
|
|
skipSlow:
|
|
default: false
|
|
required: false
|
|
asan:
|
|
default: false
|
|
required: false
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- shell: bash
|
|
run: |
|
|
set -x
|
|
./buildconf --force
|
|
./configure \
|
|
--enable-option-checking=fatal \
|
|
--prefix=/usr \
|
|
--enable-phpdbg \
|
|
--enable-fpm \
|
|
--with-pdo-mysql=mysqlnd \
|
|
--with-mysqli=mysqlnd \
|
|
${{ inputs.skipSlow == 'false' && '--with-pgsql' || '' }} \
|
|
${{ inputs.skipSlow == 'false' && '--with-pdo-pgsql' || '' }} \
|
|
${{ inputs.skipSlow == 'false' && '--with-pdo-sqlite' || '' }} \
|
|
--enable-intl \
|
|
--without-pear \
|
|
--enable-gd \
|
|
--with-jpeg \
|
|
--with-webp \
|
|
${{ inputs.asan == 'false' && '--with-avif' || '' }} \
|
|
--with-freetype \
|
|
--with-xpm \
|
|
--enable-exif \
|
|
--with-zip \
|
|
--with-zlib \
|
|
--enable-soap \
|
|
--enable-xmlreader \
|
|
--with-xsl \
|
|
${{ inputs.skipSlow == 'false' && '--with-tidy' || '' }} \
|
|
--enable-sysvsem \
|
|
--enable-sysvshm \
|
|
--enable-shmop \
|
|
--enable-pcntl \
|
|
--without-readline --with-libedit \
|
|
--enable-mbstring \
|
|
--with-curl \
|
|
--with-gettext \
|
|
--enable-sockets \
|
|
--with-bz2 \
|
|
--with-openssl \
|
|
--with-gmp \
|
|
--enable-bcmath \
|
|
--enable-calendar \
|
|
--enable-ftp \
|
|
${{ inputs.skipSlow == 'false' && '--with-enchant=/usr' || '' }} \
|
|
--enable-sysvmsg \
|
|
--with-ffi \
|
|
--enable-zend-test \
|
|
${{ inputs.skipSlow == 'false' && '--enable-dl-test=shared' || '' }} \
|
|
${{ inputs.skipSlow == 'false' && '--with-ldap' || '' }} \
|
|
${{ inputs.skipSlow == 'false' && '--with-ldap-sasl' || '' }} \
|
|
--with-password-argon2 \
|
|
--with-mhash \
|
|
--with-sodium \
|
|
--enable-dba \
|
|
--with-cdb \
|
|
--enable-flatfile \
|
|
--enable-inifile \
|
|
--with-tcadb \
|
|
--with-lmdb \
|
|
--with-qdbm \
|
|
${{ inputs.skipSlow == 'false' && '--with-snmp' || '' }} \
|
|
${{ inputs.skipSlow == 'false' && '--with-unixODBC' || '' }} \
|
|
${{ inputs.skipSlow == 'false' && '--with-pdo-odbc=unixODBC,/usr' || '' }} \
|
|
--with-config-file-path=/etc \
|
|
--with-config-file-scan-dir=/etc/php.d \
|
|
${{ inputs.skipSlow == 'false' && '--with-pdo-firebird' || '' }} \
|
|
${{ inputs.skipSlow == 'false' && '--with-pdo-dblib' || '' }} \
|
|
--enable-werror \
|
|
${{ inputs.configurationParameters }}
|