This commit is contained in:
Dengke Tang
2023-02-24 15:57:31 -08:00
parent 7a9a9eadb4
commit 260a543f77
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -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
View File
@@ -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