Skip to content

Commit

Permalink
I don't know
Browse files Browse the repository at this point in the history
  • Loading branch information
TingDaoK committed Feb 24, 2023
1 parent ce4a00c commit 8c66121
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
- name: Build ${{ env.PACKAGE_NAME }} + consumers
run: |
phpize
.\configure --with-prefix=${{steps.setup-php-sdk.outputs.prefix}} --enable-awscrt=shared --enable-cli --with-openssl
.\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 ${{steps.setup-php-sdk.outputs.prefix}}\php
Expand Down
17 changes: 8 additions & 9 deletions dev-scripts/run_tests.bat
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,14 @@ REM Check if composer_dir was found
if "%composer_dir%"=="" (
echo No composer found.
exit /b 1
) else (
set "script_dir=%~dp0"
set "work_dir=%script_dir%/.."
cd %work_dir%
echo %work_dir%
ls x64\

call %PHP_BINARY% -c php-win.ini %composer_dir% update
call %PHP_BINARY% -c php-win.ini vendor/bin/phpunit tests --debug
)

set "script_dir=%~dp0"
set "work_dir=%script_dir%/.."
cd %work_dir%

call %PHP_BINARY% -c php-win.ini %composer_dir% update
call %PHP_BINARY% -c php-win.ini vendor/bin/phpunit tests --debug


endlocal

0 comments on commit 8c66121

Please sign in to comment.