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            --without-pear \
31            --enable-gd \
32            --with-jpeg \
33            --with-webp \
34            --with-freetype \
35            --with-xpm \
36            --enable-exif \
37            --with-zlib \
38            --enable-soap \
39            --enable-xmlreader \
40            --with-xsl \
41            --enable-sysvsem \
42            --enable-sysvshm \
43            --enable-shmop \
44            --enable-pcntl \
45            --with-readline \
46            --enable-mbstring \
47            --with-curl \
48            --with-gettext \
49            --enable-sockets \
50            --with-bz2 \
51            --with-openssl \
52            --with-gmp \
53            --enable-bcmath \
54            --enable-calendar \
55            --enable-ftp \
56            --enable-sysvmsg \
57            --with-ffi \
58            --enable-zend-test \
59            --enable-dl-test=shared \
60            --with-mhash \
61            --with-sodium \
62            --enable-dba \
63            --enable-werror \
64            --with-config-file-path=/etc \
65            --with-config-file-scan-dir=/etc/php.d
66