Merge pull request #2901 from laradock/ci-php71

Github CI php-fpm php7.1
This commit is contained in:
Shao Yu-Lung (Allen) 2021-03-20 18:09:53 +08:00 committed by GitHub
commit 40f64a9fcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
php_version: ["7.2", "7.3", "7.4", "8.0"] php_version: ["7.1", "7.2", "7.3", "7.4", "8.0"]
service: [php-fpm, php-worker, workspace, laravel-horizon] service: [php-fpm, php-worker, workspace, laravel-horizon]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2

View File

@ -293,7 +293,7 @@ RUN set -eux; \
elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70000" ]; then \ elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70000" ]; then \
pecl install swoole-4.3.5; \ pecl install swoole-4.3.5; \
elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70100" ]; then \ elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70100" ]; then \
pecl install swoole-4.6.0; \ pecl install swoole-4.5.11; \
else \ else \
pecl install swoole; \ pecl install swoole; \
fi; \ fi; \