From 2a1e534735aba0e7c5cc84702c9e8da610152e4f Mon Sep 17 00:00:00 2001 From: "Shao Yu-Lung (Allen)" Date: Wed, 7 Apr 2021 12:28:42 +0800 Subject: [PATCH 1/6] after ci build show php extension list --- .github/workflows/main-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main-ci.yml b/.github/workflows/main-ci.yml index 70c53dc..8fbad72 100644 --- a/.github/workflows/main-ci.yml +++ b/.github/workflows/main-ci.yml @@ -37,6 +37,7 @@ jobs: sed -i -- 's/IONCUBE=true/IONCUBE=false/g' .env sed -i -- 's/V8JS=true/V8JS=false/g' .env docker-compose build ${{ matrix.service }} + docker-compose run --rm --no-deps -- ${{ matrix.service }} php -m build-other: runs-on: ubuntu-latest From 8142ead2a07549b27c1e0243cf7c87b61f728cd1 Mon Sep 17 00:00:00 2001 From: "Shao Yu-Lung (Allen)" Date: Wed, 7 Apr 2021 13:11:25 +0800 Subject: [PATCH 2/6] Update main-ci.yml --- .github/workflows/main-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main-ci.yml b/.github/workflows/main-ci.yml index 8fbad72..857da2b 100644 --- a/.github/workflows/main-ci.yml +++ b/.github/workflows/main-ci.yml @@ -22,6 +22,7 @@ jobs: env: PHP_VERSION: ${{ matrix.php_version }} run: | + set -eux; cp env-example .env sed -i -- '99,313s/=false/=true/g' .env sed -i -- 's/CHANGE_SOURCE=true/CHANGE_SOURCE=false/g' .env @@ -37,7 +38,9 @@ jobs: sed -i -- 's/IONCUBE=true/IONCUBE=false/g' .env sed -i -- 's/V8JS=true/V8JS=false/g' .env docker-compose build ${{ matrix.service }} - docker-compose run --rm --no-deps -- ${{ matrix.service }} php -m + docker-compose up -d --no-deps -- ${{ matrix.service }} + docker-compose exec -- ${{ matrix.service }} php -m + docker-compose down build-other: runs-on: ubuntu-latest From 6897941396c5129a2d90e9b0e90edf5c1949cc54 Mon Sep 17 00:00:00 2001 From: "Shao Yu-Lung (Allen)" Date: Wed, 7 Apr 2021 13:12:14 +0800 Subject: [PATCH 3/6] Update main-ci.yml --- .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 857da2b..7283929 100644 --- a/.github/workflows/main-ci.yml +++ b/.github/workflows/main-ci.yml @@ -22,7 +22,7 @@ jobs: env: PHP_VERSION: ${{ matrix.php_version }} run: | - set -eux; + set -eux cp env-example .env sed -i -- '99,313s/=false/=true/g' .env sed -i -- 's/CHANGE_SOURCE=true/CHANGE_SOURCE=false/g' .env From dc34704a93f792ec33b640d30e122e5a2a6f304c Mon Sep 17 00:00:00 2001 From: "Shao Yu-Lung (Allen)" Date: Wed, 7 Apr 2021 13:42:28 +0800 Subject: [PATCH 4/6] Update main-ci.yml --- .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 7283929..026c3f2 100644 --- a/.github/workflows/main-ci.yml +++ b/.github/workflows/main-ci.yml @@ -39,7 +39,7 @@ jobs: sed -i -- 's/V8JS=true/V8JS=false/g' .env docker-compose build ${{ matrix.service }} docker-compose up -d --no-deps -- ${{ matrix.service }} - docker-compose exec -- ${{ matrix.service }} php -m + docker-compose exec -T -- ${{ matrix.service }} php -m docker-compose down build-other: From dc8a3beb4aac51be049531768e325ed247b21edb Mon Sep 17 00:00:00 2001 From: "Shao Yu-Lung (Allen)" Date: Wed, 7 Apr 2021 13:51:29 +0800 Subject: [PATCH 5/6] Update main-ci.yml --- .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 026c3f2..2ce06e6 100644 --- a/.github/workflows/main-ci.yml +++ b/.github/workflows/main-ci.yml @@ -39,7 +39,7 @@ jobs: sed -i -- 's/V8JS=true/V8JS=false/g' .env docker-compose build ${{ matrix.service }} docker-compose up -d --no-deps -- ${{ matrix.service }} - docker-compose exec -T -- ${{ matrix.service }} php -m + docker exec -it -- laradock_${{ matrix.service }}_1 php -m docker-compose down build-other: From 78e17707cb7d16b0b09764e3ad687a59b1ab8c11 Mon Sep 17 00:00:00 2001 From: "Shao Yu-Lung (Allen)" Date: Wed, 7 Apr 2021 14:10:12 +0800 Subject: [PATCH 6/6] Update main-ci.yml --- .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 2ce06e6..026c3f2 100644 --- a/.github/workflows/main-ci.yml +++ b/.github/workflows/main-ci.yml @@ -39,7 +39,7 @@ jobs: sed -i -- 's/V8JS=true/V8JS=false/g' .env docker-compose build ${{ matrix.service }} docker-compose up -d --no-deps -- ${{ matrix.service }} - docker exec -it -- laradock_${{ matrix.service }}_1 php -m + docker-compose exec -T -- ${{ matrix.service }} php -m docker-compose down build-other: