Skip to content

Commit

Permalink
Add builds for PHP 5.6 to 7.4
Browse files Browse the repository at this point in the history
Build only 7.4
  • Loading branch information
shivammathur committed Nov 2, 2022
1 parent f3fc9a0 commit f8e5aa7
Show file tree
Hide file tree
Showing 753 changed files with 379,711 additions and 35 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ on:
env:
CONTAINER_OS_LIST: ubuntu:bionic ubuntu:focal ubuntu:jammy debian:buster debian:bullseye
RUNNER_OS_LIST: ubuntu-18.04 ubuntu-20.04 ubuntu-22.04
PHP_LIST: 8.0 8.1 8.2 8.3
#PHP_LIST: 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
PHP_LIST: 7.4 8.0 8.1 8.2 8.3
SAPI_LIST: apache2 cgi cli embed fpm phpdbg
BUILD_LIST: nts zts

Expand Down Expand Up @@ -220,7 +221,7 @@ jobs:

- name: Install PHP
run: |
sed -i '/builds/d' scripts/install.sh
sed -i '/download/d' scripts/install.sh
bash scripts/install.sh ${{ matrix.php-version }} local ${{ matrix.build }}
- name: Test
Expand Down Expand Up @@ -267,7 +268,7 @@ jobs:

- name: Install PHP
run: |
sed -i '/builds\/$tar_file/d' scripts/install.sh
sed -i '/download/d' scripts/install.sh
bash scripts/install.sh ${{ matrix.php-version }} github ${{ matrix.build }}
- name: Test
Expand Down Expand Up @@ -313,4 +314,5 @@ jobs:
env:
GITHUB_MESSAGE: ${{ github.event.head_commit.message || github.event.inputs.build-mode }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PHP_LIST: ${{ env.PHP_LIST }}
PHP_SOURCE: ${{ github.event.inputs.php-source }}
133 changes: 133 additions & 0 deletions config/definitions/5.6
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
# Common extensions
--enable-bcmath=shared
--with-bz2=shared,/usr
--enable-calendar=shared
--enable-ctype=shared
--with-curl=shared
--with-enchant=shared
--enable-exif=shared
--enable-fileinfo=shared
--enable-filter
--with-ffi=shared
--enable-ftp=shared
--with-openssl-dir=/usr
--with-gettext=shared,/usr
--with-gmp=shared
--enable-intl=shared
--with-iconv=shared
--with-libedit=shared
--with-openssl=yes
--enable-pdo=shared
--with-pdo-dblib=shared,/usr
--with-pdo-firebird=shared,/usr
--enable-phar=shared
--enable-posix=shared
--with-pspell=shared,/usr
--enable-session
--enable-shmop=shared
--enable-sockets=shared
--enable-sysvmsg=shared
--enable-sysvsem=shared
--enable-sysvshm=shared
--with-tidy=shared,/usr
--enable-tokenizer=shared
--with-xsl=shared
--with-zip=shared

# dba
--enable-dba=shared
--with-db4=/usr
--without-gdbm
--with-qdbm=/usr
--with-lmdb=/usr
--enable-inifile
--enable-flatfile

# gd
--enable-gd=shared,/usr
--with-external-gd

# mhash
--with-mhash=/usr

#imap
--with-imap=shared,/usr
--with-kerberos
--with-imap-ssl=yes


# ldap
--with-ldap=shared,/usr
--with-ldap-sasl

# mbstring
--enable-mbstring=shared
--enable-mbregex

# mysql
--enable-mysqlnd=shared
--enable-mysqlnd-compression-support
--with-zlib=/usr
--with-zlib-dir=/usr
--with-mysqli=shared,mysqlnd
--with-mysql-sock=/var/run/mysqld/mysqld.sock
--with-pdo-mysql=shared,mysqlnd
--with-mysql-sock=/var/run/mysqld/mysqld.sock

# odbc
--with-unixODBC=shared,/usr
--with-pdo-odbc=shared,unixODBC,/usr

# pgsql
--with-pgsql=shared,/usr
--with-pdo-pgsql=shared,/usr

# soap
--enable-soap=shared
--enable-libxml

# sodium
--with-sodium=shared
--with-password-argon2=/usr

# sqlite
--with-sqlite3=shared
--with-pdo-sqlite=shared

# xml
--enable-dom=shared
--enable-simplexml=shared
--enable-xml=shared
--enable-xmlreader=shared
--enable-xmlwriter=shared

# opcache
--enable-opcache
--enable-huge-code-pages

# Common config
--build=BUILD_MACHINE_SYSTEM_TYPE
--host=HOST_MACHINE_SYSTEM_TYPE
--config-cache
--cache-file=/tmp/config.cache
--with-libdir=lib/BUILD_MACHINE_SYSTEM_TYPE
--libdir=/usr/lib/php
--program-suffix=PHP_VERSION
--sysconfdir=/etc
--localstatedir=/var
--disable-rpath
--disable-static
--with-pic
--with-layout=GNU
--without-pear
--with-pcre-regex=/usr
--with-system-tzdata

# Placeholder for thread-safe build.
ZTS

# Placeholder for patch commands.
PATCHES

# Placeholder for INSTALL command.
INSTALL
133 changes: 133 additions & 0 deletions config/definitions/7.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
# Common extensions
--enable-bcmath=shared
--with-bz2=shared,/usr
--enable-calendar=shared
--enable-ctype=shared
--with-curl=shared
--with-enchant=shared
--enable-exif=shared
--enable-fileinfo=shared
--enable-filter
--with-ffi=shared
--enable-ftp=shared
--with-openssl-dir=/usr
--with-gettext=shared,/usr
--with-gmp=shared
--enable-intl=shared
--with-iconv=shared
--with-libedit=shared
--with-openssl=yes
--enable-pdo=shared
--with-pdo-dblib=shared,/usr
--with-pdo-firebird=shared,/usr
--enable-phar=shared
--enable-posix=shared
--with-pspell=shared,/usr
--enable-session
--enable-shmop=shared
--enable-sockets=shared
--enable-sysvmsg=shared
--enable-sysvsem=shared
--enable-sysvshm=shared
--with-tidy=shared,/usr
--enable-tokenizer=shared
--with-xsl=shared
--with-zip=shared

# dba
--enable-dba=shared
--with-db4=/usr
--without-gdbm
--with-qdbm=/usr
--with-lmdb=/usr
--enable-inifile
--enable-flatfile

# gd
--enable-gd=shared,/usr
--with-external-gd

# mhash
--with-mhash=/usr

#imap
--with-imap=shared,/usr
--with-kerberos
--with-imap-ssl=yes


# ldap
--with-ldap=shared,/usr
--with-ldap-sasl

# mbstring
--enable-mbstring=shared
--enable-mbregex

# mysql
--enable-mysqlnd=shared
--enable-mysqlnd-compression-support
--with-zlib=/usr
--with-zlib-dir=/usr
--with-mysqli=shared,mysqlnd
--with-mysql-sock=/var/run/mysqld/mysqld.sock
--with-pdo-mysql=shared,mysqlnd
--with-mysql-sock=/var/run/mysqld/mysqld.sock

# odbc
--with-unixODBC=shared,/usr
--with-pdo-odbc=shared,unixODBC,/usr

# pgsql
--with-pgsql=shared,/usr
--with-pdo-pgsql=shared,/usr

# soap
--enable-soap=shared
--enable-libxml

# sodium
--with-sodium=shared
--with-password-argon2=/usr

# sqlite
--with-sqlite3=shared
--with-pdo-sqlite=shared

# xml
--enable-dom=shared
--enable-simplexml=shared
--enable-xml=shared
--enable-xmlreader=shared
--enable-xmlwriter=shared

# opcache
--enable-opcache
--enable-huge-code-pages

# Common config
--build=BUILD_MACHINE_SYSTEM_TYPE
--host=HOST_MACHINE_SYSTEM_TYPE
--config-cache
--cache-file=/tmp/config.cache
--with-libdir=lib/BUILD_MACHINE_SYSTEM_TYPE
--libdir=/usr/lib/php
--program-suffix=PHP_VERSION
--sysconfdir=/etc
--localstatedir=/var
--disable-rpath
--disable-static
--with-pic
--with-layout=GNU
--without-pear
--with-pcre-regex=/usr
--with-system-tzdata

# Placeholder for thread-safe build.
ZTS

# Placeholder for patch commands.
PATCHES

# Placeholder for INSTALL command.
INSTALL
Loading

0 comments on commit f8e5aa7

Please sign in to comment.