mirror of
https://github.com/awslabs/aws-crt-php.git
synced 2026-08-17 17:47:12 +00:00
get the full path of the extension
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user