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        export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/lib/i386-linux-gnu/pkgconfig"
14        ./buildconf --force
15        export CFLAGS="-m32 -msse2"
16        export CXXFLAGS="-m32 -msse2"
17        export LDFLAGS=-L/usr/lib/i386-linux-gnu
18        ./configure ${{ inputs.configurationParameters }} \
19            --enable-option-checking=fatal \
20            --build=i686-pc-linux-gnu \
21            --prefix=/usr \
22            --enable-phpdbg \
23            --enable-fpm \
24            --enable-intl \
25            --with-pdo-mysql=mysqlnd \
26            --with-mysqli=mysqlnd \
27            --with-pgsql \
28            --with-pdo-pgsql \
29            --with-pdo-sqlite \
30            --with-pdo-firebird \
31            --without-pear \
32            --enable-gd \
33            --with-jpeg \
34            --with-webp \
35            --with-freetype \
36            --with-xpm \
37            --enable-exif \
38            --with-zlib \
39            --enable-soap \
40            --enable-xmlreader \
41            --with-xsl \
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            --enable-sysvmsg \
58            --with-ffi \
59            --enable-zend-test \
60            --enable-dl-test=shared \
61            --with-mhash \
62            --with-sodium \
63            --enable-dba \
64            --enable-werror \
65            --with-config-file-path=/etc \
66            --with-config-file-scan-dir=/etc/php.d
67