From a9ab031603342067fa3c0a264c1bc96663915d5d Mon Sep 17 00:00:00 2001 From: Dengke Tang Date: Tue, 28 Feb 2023 11:07:07 -0800 Subject: [PATCH] try to not force the special version of phpunit --- .github/workflows/ci.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bf6cd1b..c897b9f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,10 +41,8 @@ jobs: - name: Install dependencies # get path to composer.phar so we can run it with custom php.ini - # Force to install phpunit@4.8.36 to support php@5.5 run: | COMPOSER_PHAR=$(realpath $(which composer)) - 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: @@ -119,12 +117,12 @@ jobs: with: arch: ${{ matrix.arch }} toolset: ${{steps.setup-php-sdk.outputs.toolset}} - - run: | - phpize - .\configure --with-prefix=${{steps.setup-php-sdk.outputs.prefix}} --enable-awscrt=shared --enable-cli --enable-openssl - nmake - nmake generate-php-ini - .\dev-scripts\run_tests.bat ${{steps.setup-php-sdk.outputs.prefix}}\php + # CMD only execute one commend per run + - run: phpize + - run: .\configure --with-prefix=${{steps.setup-php-sdk.outputs.prefix}} --enable-awscrt=shared --enable-cli --enable-openssl + - run: nmake + - run: nmake generate-php-ini + - run: .\dev-scripts\run_tests.bat ${{steps.setup-php-sdk.outputs.prefix}}\php # windows-vc14: # runs-on: windows-latest