diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fcec817..00252df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -117,13 +117,11 @@ jobs: toolset: ${{steps.setup-php-sdk.outputs.toolset}} - name: Build ${{ env.PACKAGE_NAME }} + consumers run: | - ls php-bin - ls php-bin/ext phpize .\configure --with-prefix=${{steps.setup-php-sdk.outputs.prefix}} --enable-awscrt=shared --enable-cli --enable-openssl nmake nmake generate-php-ini - composer update --ignore-platform-req=ext-awscrt + type .\php-win.ini .\dev-scripts\run_tests ${{steps.setup-php-sdk.outputs.prefix}}\php # windows-vc14: diff --git a/Makefile.frag.w32 b/Makefile.frag.w32 index 14cd941..b37987b 100644 --- a/Makefile.frag.w32 +++ b/Makefile.frag.w32 @@ -27,3 +27,5 @@ $(AWSCRT_DIR)\ext\api.h: $(AWSCRT_DIR)\crt\aws-crt-ffi\src\api.h # Get the dll directory to load generate-php-ini: @echo extension=$(BUILD_DIR)\php_awscrt.dll > php-win.ini + @echo extension=$(PHP_PREFIX)\php_openssl.dll >> php-win.ini + @echo extension=$(PHP_PREFIX)\php_mbstring.dll >> php-win.ini diff --git a/dev-scripts/run_tests.bat b/dev-scripts/run_tests.bat index fff4913..e92f1cb 100644 --- a/dev-scripts/run_tests.bat +++ b/dev-scripts/run_tests.bat @@ -21,6 +21,7 @@ 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