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 export PATH="/usr/local/opt/bison/bin:$PATH" 13 export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/openssl@1.1/lib/pkgconfig" 14 export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/curl/lib/pkgconfig" 15 export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/krb5/lib/pkgconfig" 16 export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/libffi/lib/pkgconfig" 17 export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/libxml2/lib/pkgconfig" 18 export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/libxslt/lib/pkgconfig" 19 export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/zlib/lib/pkgconfig" 20 export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/icu4c/lib/pkgconfig" 21 ./buildconf --force 22 ./configure \ 23 CFLAGS="-Wno-strict-prototypes -Wno-unused-but-set-variable -Wno-single-bit-bitfield-constant-conversion" \ 24 --enable-option-checking=fatal \ 25 --prefix=/usr/local \ 26 --enable-fpm \ 27 --with-pdo-mysql=mysqlnd \ 28 --with-mysqli=mysqlnd \ 29 --with-pgsql=/usr/local/opt/libpq \ 30 --with-pdo-pgsql=/usr/local/opt/libpq \ 31 --with-pdo-sqlite \ 32 --without-pear \ 33 --enable-gd \ 34 --with-jpeg \ 35 --with-webp \ 36 --with-freetype \ 37 --enable-exif \ 38 --with-zip \ 39 --with-zlib \ 40 --enable-soap \ 41 --enable-xmlreader \ 42 --with-xsl \ 43 --with-tidy=/usr/local/opt/tidy-html5 \ 44 --with-libxml \ 45 --enable-sysvsem \ 46 --enable-sysvshm \ 47 --enable-shmop \ 48 --enable-pcntl \ 49 --with-readline=/usr/local/opt/readline \ 50 --enable-mbstring \ 51 --with-curl \ 52 --with-gettext=/usr/local/opt/gettext \ 53 --enable-sockets \ 54 --with-bz2=/usr/local/opt/bzip2 \ 55 --with-openssl \ 56 --with-gmp=/usr/local/opt/gmp \ 57 --with-iconv=/usr/local/opt/libiconv \ 58 --enable-bcmath \ 59 --enable-calendar \ 60 --enable-ftp \ 61 --with-pspell=/usr/local/opt/aspell \ 62 --with-kerberos \ 63 --enable-sysvmsg \ 64 --with-ffi \ 65 --enable-zend-test \ 66 --enable-dl-test=shared \ 67 --enable-intl \ 68 --with-mhash \ 69 --with-sodium \ 70 --enable-dba \ 71 --enable-werror \ 72 --with-config-file-path=/etc \ 73 --with-config-file-scan-dir=/etc/php.d \ 74 ${{ inputs.configurationParameters }} 75