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            --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            --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