get the full path of the extension

This commit is contained in:
Dengke Tang
2023-02-23 21:26:42 -08:00
parent 4718d07921
commit f098c102f0
3 changed files with 4 additions and 3 deletions
+1 -3
View File
@@ -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:
+2
View File
@@ -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
+1
View File
@@ -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