1name: ./configure
2inputs:
3  configurationParameters:
4    default: ''
5    required: false
6runs:
7  using: composite
8  steps:
9    - shell: bash
10      run: |
11        set -x
12
13        ./buildconf --force
14        export CFLAGS="-m32 -msse2"
15        export CXXFLAGS="-m32 -msse2"
16        export LDFLAGS=-L/usr/lib/i386-linux-gnu
17        ./configure ${{ inputs.configurationParameters }} \
18            --enable-option-checking=fatal \
19            --prefix=/usr \
20            --enable-phpdbg \
21            --enable-fpm \
22            --enable-intl \
23            --with-pdo-mysql=mysqlnd \
24            --with-mysqli=mysqlnd \
25            --with-pgsql \
26            --with-pdo-pgsql \
27            --with-pdo-sqlite \
28            --without-pear \
29            --enable-gd \
30            --with-jpeg \
31            --with-webp \
32            --with-freetype \
33            --with-xpm \
34            --enable-exif \
35            --with-zip \
36            --with-zlib \
37            --with-zlib-dir=/usr \
38            --enable-soap \
39            --enable-xmlreader \
40            --with-xsl \
41            --with-tidy \
42            --enable-sysvsem \
43            --enable-sysvshm \
44            --enable-shmop \
45            --enable-pcntl \
46            --with-readline \
47            --enable-mbstring \
48            --with-curl \
49            --with-gettext \
50            --enable-sockets \
51            --with-bz2 \
52            --with-openssl \
53            --with-gmp \
54            --enable-bcmath \
55            --enable-calendar \
56            --enable-ftp \
57            --with-pspell=/usr \
58            --with-kerberos \
59            --enable-sysvmsg \
60            --with-ffi \
61            --enable-zend-test \
62            --with-mhash \
63            --with-sodium \
64            --enable-dba \
65            --enable-werror \
66            --with-config-file-path=/etc \
67            --with-config-file-scan-dir=/etc/php.d
68