Merge pull request #2939 from laradock/github-ci-adjust

feat(Github CI): after build show php extension list
This commit is contained in:
Shao Yu-Lung (Allen) 2021-04-07 15:16:05 +08:00 committed by GitHub
commit 5cda2be7c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,7 @@ jobs:
env: env:
PHP_VERSION: ${{ matrix.php_version }} PHP_VERSION: ${{ matrix.php_version }}
run: | run: |
set -eux
cp env-example .env cp env-example .env
sed -i -- '99,313s/=false/=true/g' .env sed -i -- '99,313s/=false/=true/g' .env
sed -i -- 's/CHANGE_SOURCE=true/CHANGE_SOURCE=false/g' .env sed -i -- 's/CHANGE_SOURCE=true/CHANGE_SOURCE=false/g' .env
@ -37,6 +38,9 @@ jobs:
sed -i -- 's/IONCUBE=true/IONCUBE=false/g' .env sed -i -- 's/IONCUBE=true/IONCUBE=false/g' .env
sed -i -- 's/V8JS=true/V8JS=false/g' .env sed -i -- 's/V8JS=true/V8JS=false/g' .env
docker-compose build ${{ matrix.service }} docker-compose build ${{ matrix.service }}
docker-compose up -d --no-deps -- ${{ matrix.service }}
docker-compose exec -T -- ${{ matrix.service }} php -m
docker-compose down
build-other: build-other:
runs-on: ubuntu-latest runs-on: ubuntu-latest