load extension before run composer

This commit is contained in:
Dengke Tang
2023-02-21 18:53:50 -08:00
parent e5e998aba9
commit 31a5785c2d
2 changed files with 15 additions and 10 deletions
+13 -9
View File
@@ -30,12 +30,6 @@ jobs:
with:
submodules: recursive
- name: Install ancient PHPUnit
run: composer require --dev --ignore-platform-reqs phpunit/phpunit "4.8.36"
- name: Install dependencies
run: composer update --no-interaction
- name: Build for PHP 5.5
env:
CC: clang
@@ -45,6 +39,13 @@ jobs:
./configure
make
- name: Install dependencies
run: |
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php
php -c php.ini composer.phar require --dev --ignore-platform-reqs phpunit/phpunit "4.8.36"
php -c php.ini composer.phar update --no-interaction
php-linux-x64:
runs-on: ubuntu-latest
strategy:
@@ -71,9 +72,6 @@ jobs:
with:
submodules: recursive
- name: Install dependencies
run: composer update --no-interaction
- name: Run tests
env:
CC: clang
@@ -84,6 +82,12 @@ jobs:
make
make test
- name: Install dependencies
run: |
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php
php -c php.ini composer.phar update --no-interaction
# linux-arm:
# name: ARM (${{ matrix.arch }})