mirror of
https://github.com/awslabs/aws-crt-php.git
synced 2026-08-18 18:13:09 +00:00
get the full path of the extension
This commit is contained in:
@@ -120,13 +120,11 @@ jobs:
|
|||||||
toolset: ${{steps.setup-php-sdk.outputs.toolset}}
|
toolset: ${{steps.setup-php-sdk.outputs.toolset}}
|
||||||
- name: Build ${{ env.PACKAGE_NAME }} + consumers
|
- name: Build ${{ env.PACKAGE_NAME }} + consumers
|
||||||
run: |
|
run: |
|
||||||
ls php-bin
|
|
||||||
ls php-bin/ext
|
|
||||||
phpize
|
phpize
|
||||||
.\configure --with-prefix=${{steps.setup-php-sdk.outputs.prefix}} --enable-awscrt=shared --enable-cli --enable-openssl
|
.\configure --with-prefix=${{steps.setup-php-sdk.outputs.prefix}} --enable-awscrt=shared --enable-cli --enable-openssl
|
||||||
nmake
|
nmake
|
||||||
nmake generate-php-ini
|
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
|
.\dev-scripts\run_tests ${{steps.setup-php-sdk.outputs.prefix}}\php
|
||||||
|
|
||||||
# windows-vc14:
|
# windows-vc14:
|
||||||
|
|||||||
+2
-2
@@ -27,5 +27,5 @@ $(AWSCRT_DIR)\ext\api.h: $(AWSCRT_DIR)\crt\aws-crt-ffi\src\api.h
|
|||||||
# Get the dll directory to load
|
# Get the dll directory to load
|
||||||
generate-php-ini:
|
generate-php-ini:
|
||||||
@echo extension=$(BUILD_DIR)\php_awscrt.dll > php-win.ini
|
@echo extension=$(BUILD_DIR)\php_awscrt.dll > php-win.ini
|
||||||
@echo extension=$(PHP_PREFIX)\ext\php_openssl.dll >> php-win.ini
|
@echo extension=$(PHP_PREFIX)\php_openssl.dll >> php-win.ini
|
||||||
@echo extension=$(PHP_PREFIX)\ext\php_mbstring.dll >> php-win.ini
|
@echo extension=$(PHP_PREFIX)\php_mbstring.dll >> php-win.ini
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ set "script_dir=%~dp0"
|
|||||||
set "work_dir=%script_dir%/.."
|
set "work_dir=%script_dir%/.."
|
||||||
cd %work_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
|
call %PHP_BINARY% -c php-win.ini vendor/bin/phpunit tests --debug
|
||||||
|
|
||||||
endlocal
|
endlocal
|
||||||
|
|||||||
Reference in New Issue
Block a user