mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 22:08:54 +00:00
[ticket/16659] Add builds for MySQL 8 and PHP 8.1
PHPBB3-16659
This commit is contained in:
parent
bb020c3e6b
commit
4729be9e96
2 changed files with 10 additions and 3 deletions
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
|
@ -46,16 +46,18 @@ jobs:
|
||||||
# db: "mysql:5.6"
|
# db: "mysql:5.6"
|
||||||
# - php: 7.1
|
# - php: 7.1
|
||||||
# db: "mysql:5.7"
|
# db: "mysql:5.7"
|
||||||
# - php: 7.1
|
|
||||||
# db: "mysql:8.0"
|
|
||||||
# - php: 7.2
|
# - php: 7.2
|
||||||
# db: "mysql:5.7"
|
# db: "mysql:5.7"
|
||||||
# - php: 7.3
|
# - php: 7.3
|
||||||
# db: "mysql:5.7"
|
# db: "mysql:5.7"
|
||||||
# - php: 7.4
|
# - php: 7.4
|
||||||
# db: "mysql:5.7"
|
# db: "mysql:5.7"
|
||||||
|
- php: 7.4
|
||||||
|
db: "mysql:8.0"
|
||||||
- php: '8.0'
|
- php: '8.0'
|
||||||
db: "mysql:5.7"
|
db: "mysql:5.7"
|
||||||
|
- php: '8.1'
|
||||||
|
db: "mysql:5.7"
|
||||||
|
|
||||||
name: PHP ${{ matrix.php }} - ${{ matrix.db }}
|
name: PHP ${{ matrix.php }} - ${{ matrix.db }}
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,12 @@ NGINX_PHP_CONF="$DIR/nginx-php.conf"
|
||||||
PHP_FPM_BIN="/usr/sbin/php-fpm$PHP_VERSION"
|
PHP_FPM_BIN="/usr/sbin/php-fpm$PHP_VERSION"
|
||||||
PHP_FPM_CONF="$DIR/php-fpm.conf"
|
PHP_FPM_CONF="$DIR/php-fpm.conf"
|
||||||
|
|
||||||
if [ ! -f $PHP_FPM_BIN ]
|
if [ ! -f $PHP_FPM_BIN ] && [ "$PHP_VERSION" == '8.1' ] && [ -f "/usr/bin/php-fpm" ]
|
||||||
|
then
|
||||||
|
PHP_FPM_BIN="/usr/bin/php-fpm"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -f $PHP_FPM_BIN ] && [ "$PHP_VERSION" != '8.1' ]
|
||||||
then
|
then
|
||||||
sudo apt-get install php$PHP_VERSION-fpm php$PHP_VERSION-cli php$PHP_VERSION-dom \
|
sudo apt-get install php$PHP_VERSION-fpm php$PHP_VERSION-cli php$PHP_VERSION-dom \
|
||||||
php$PHP_VERSION-curl php$PHP_VERSION-xml php$PHP_VERSION-mbstring \
|
php$PHP_VERSION-curl php$PHP_VERSION-xml php$PHP_VERSION-mbstring \
|
||||||
|
|
Loading…
Add table
Reference in a new issue