mirror of
https://github.com/awslabs/aws-crt-php.git
synced 2026-08-17 17:47:12 +00:00
try to not force the special version of phpunit
This commit is contained in:
@@ -41,10 +41,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
# get path to composer.phar so we can run it with custom php.ini
|
# get path to composer.phar so we can run it with custom php.ini
|
||||||
# Force to install [email protected] to support [email protected]
|
|
||||||
run: |
|
run: |
|
||||||
COMPOSER_PHAR=$(realpath $(which composer))
|
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 -c php.ini $COMPOSER_PHAR update --no-interaction
|
||||||
|
|
||||||
php-linux-x64:
|
php-linux-x64:
|
||||||
@@ -119,12 +117,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
arch: ${{ matrix.arch }}
|
arch: ${{ matrix.arch }}
|
||||||
toolset: ${{steps.setup-php-sdk.outputs.toolset}}
|
toolset: ${{steps.setup-php-sdk.outputs.toolset}}
|
||||||
- run: |
|
# CMD only execute one commend per run
|
||||||
phpize
|
- run: phpize
|
||||||
.\configure --with-prefix=${{steps.setup-php-sdk.outputs.prefix}} --enable-awscrt=shared --enable-cli --enable-openssl
|
- run: .\configure --with-prefix=${{steps.setup-php-sdk.outputs.prefix}} --enable-awscrt=shared --enable-cli --enable-openssl
|
||||||
nmake
|
- run: nmake
|
||||||
nmake generate-php-ini
|
- run: nmake generate-php-ini
|
||||||
.\dev-scripts\run_tests.bat ${{steps.setup-php-sdk.outputs.prefix}}\php
|
- run: .\dev-scripts\run_tests.bat ${{steps.setup-php-sdk.outputs.prefix}}\php
|
||||||
|
|
||||||
# windows-vc14:
|
# windows-vc14:
|
||||||
# runs-on: windows-latest
|
# runs-on: windows-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user