Skip to content

Commit e2e5699

Browse files
committed
fixup! wip: ci
1 parent 72be7c0 commit e2e5699

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

.github/extension/BuildPhpExtension/private/Invoke-Build.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ Function Invoke-Build {
2929
# call configure --with-php-build=C:\php\deps --enable-lz4 --enable-debug-pack 2>&1
3030
Set-Content -Path $task -Value (Get-Content -Path $task -Raw).Replace("OPTIONS", $options)
3131

32+
33+
echo ">>> path: $((Get-Location).Path)"
34+
echo ">>> : $($Config.build_directory)"
35+
echo ">>> build_directory: $Config.build_directory"
36+
echo ">>> $Config"
37+
3238
$ref = $Config.ref
3339
if($env:ARTIFACT_NAMING_SCHEME -eq 'pecl') {
3440
$ref = $Config.ref.ToLower()

.github/workflows/win.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ jobs:
4141
- name: Build the extension
4242
# uses: php/php-windows-builder/extension@v1
4343
uses: ./.github/extension
44-
# env:
45-
# PHP_LZ4_SHARED: true
44+
env:
45+
# PHP_LZ4_SHARED: true
46+
CFLAGS_LZ4: '/I${{ github.workspace }}/lz4/lib'
4647
with:
4748
# php-version: ${{ matrix.php-version }}
4849
php-version: '8.1'

0 commit comments

Comments
 (0)