I don't know

This commit is contained in:
Dengke Tang
2023-02-23 17:14:53 -08:00
parent a28388fe05
commit ce4a00c264
2 changed files with 3 additions and 12 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ jobs:
- name: Build ${{ env.PACKAGE_NAME }} + consumers - name: Build ${{ env.PACKAGE_NAME }} + consumers
run: | run: |
phpize phpize
.\configure --with-prefix=${{steps.setup-php-sdk.outputs.prefix}} --enable-awscrt=shared .\configure --with-prefix=${{steps.setup-php-sdk.outputs.prefix}} --enable-awscrt=shared --enable-cli --with-openssl
nmake nmake
nmake generate-php-ini nmake generate-php-ini
.\dev-scripts\run_tests ${{steps.setup-php-sdk.outputs.prefix}}\php .\dev-scripts\run_tests ${{steps.setup-php-sdk.outputs.prefix}}\php
+2 -11
View File
@@ -23,17 +23,8 @@ if "%composer_dir%"=="" (
echo %work_dir% echo %work_dir%
ls x64\ ls x64\
%PHP_BINARY% -c php-win.ini %composer_dir% update call %PHP_BINARY% -c php-win.ini %composer_dir% update
if %errorlevel% neq 0 ( call %PHP_BINARY% -c php-win.ini vendor/bin/phpunit tests --debug
echo An error occurred while using composer to get dependence
exit /b %errorlevel%
)
%PHP_BINARY% -c php-win.ini vendor/bin/phpunit tests --debug
if %errorlevel% neq 0 (
echo An error occurred while running unittests
exit /b %errorlevel%
)
) )
endlocal endlocal