mirror of
https://github.com/awslabs/aws-crt-php.git
synced 2026-08-18 18:13:09 +00:00
done
This commit is contained in:
@@ -99,7 +99,7 @@ jobs:
|
|||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: cmd # TODO: does this matter?
|
shell: cmd # use CMD instead of powershell to catch error from bat script
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
arch: [x64]
|
arch: [x64]
|
||||||
@@ -118,6 +118,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
arch: ${{ matrix.arch }}
|
arch: ${{ matrix.arch }}
|
||||||
toolset: ${{steps.setup-php-sdk.outputs.toolset}}
|
toolset: ${{steps.setup-php-sdk.outputs.toolset}}
|
||||||
|
# CMD only execute one commend per run
|
||||||
- run: phpize
|
- run: phpize
|
||||||
- run: .\configure --with-prefix=${{steps.setup-php-sdk.outputs.prefix}} --enable-awscrt=shared --enable-cli --enable-openssl
|
- run: .\configure --with-prefix=${{steps.setup-php-sdk.outputs.prefix}} --enable-awscrt=shared --enable-cli --enable-openssl
|
||||||
- run: nmake
|
- run: nmake
|
||||||
|
|||||||
+1
-1
@@ -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)\php_openssl.dll >> php-win.ini
|
@echo extension=$(PHP_PREFIX)\ext\php_openssl.dll >> php-win.ini
|
||||||
@echo extension=$(PHP_PREFIX)\ext\php_mbstring.dll >> php-win.ini
|
@echo extension=$(PHP_PREFIX)\ext\php_mbstring.dll >> php-win.ini
|
||||||
|
|||||||
Reference in New Issue
Block a user