From 6556a9125a0f201e11267023ae73450d014d4e35 Mon Sep 17 00:00:00 2001 From: Shao Yu Lung Date: Sat, 20 Mar 2021 17:04:58 +0800 Subject: [PATCH 1/2] ci build php 7.1 --- .github/workflows/main-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main-ci.yml b/.github/workflows/main-ci.yml index ad44a60..bf0ca01 100644 --- a/.github/workflows/main-ci.yml +++ b/.github/workflows/main-ci.yml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: false 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] steps: - uses: actions/checkout@v2 From 27dfbbfab1f1ffeb44e185b19293da60203984d1 Mon Sep 17 00:00:00 2001 From: "Shao Yu-Lung (Allen)" Date: Sat, 20 Mar 2021 17:49:21 +0800 Subject: [PATCH 2/2] Update Dockerfile sepecified pecl swoole version for php 7.1 --- php-fpm/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php-fpm/Dockerfile b/php-fpm/Dockerfile index f32e8a7..06fbcdf 100644 --- a/php-fpm/Dockerfile +++ b/php-fpm/Dockerfile @@ -293,7 +293,7 @@ RUN set -eux; \ elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70000" ]; then \ pecl install swoole-4.3.5; \ 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 \ pecl install swoole; \ fi; \