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            --build=i686-pc-linux-gnu \
20            --prefix=/usr \
21            --enable-phpdbg \
22            --enable-fpm \
23            --enable-intl \
24            --with-pdo-mysql=mysqlnd \
25            --with-mysqli=mysqlnd \
26            --with-pgsql \
27            --with-pdo-pgsql \
28            --with-pdo-sqlite \
29            --without-pear \
30            --enable-gd \
31            --with-jpeg \
32            --with-webp \
33            --with-freetype \
34            --with-xpm \
35            --enable-exif \
36            --with-zip \
37            --with-zlib \
38            --with-zlib-dir=/usr \
39            --enable-soap \
40            --enable-xmlreader \
41            --with-xsl \
42            --with-tidy \
43            --enable-sysvsem \
44            --enable-sysvshm \
45            --enable-shmop \
46            --enable-pcntl \
47            --with-readline \
48            --enable-mbstring \
49            --with-curl \
50            --with-gettext \
51            --enable-sockets \
52            --with-bz2 \
53            --with-openssl \
54            --with-gmp \
55            --enable-bcmath \
56            --enable-calendar \
57            --enable-ftp \
58            --with-pspell=/usr \
59            --with-kerberos \
60            --enable-sysvmsg \
61            --with-ffi \
62            --enable-zend-test \
63            --enable-dl-test=shared \
64            --with-mhash \
65            --with-sodium \
66            --enable-dba \
67            --enable-werror \
68            --with-config-file-path=/etc \
69            --with-config-file-scan-dir=/etc/php.d
70