Skip to content

Commit 1935118

Browse files
committed
build: Fix PHP builds
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
1 parent c55e6ca commit 1935118

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,14 @@ jobs:
596596
- name: Build PHP extension
597597
run: |
598598
export PHP_CONFIG=$(which php-config)
599+
echo "PHP binary version:"
600+
php --version
601+
echo "php-config version:"
602+
php-config --version
603+
echo "php-config include dir:"
604+
php-config --include-dir
605+
echo "PHP version number:"
606+
php-config --vernum
599607
cargo build --release
600608
EXT_DIR=$(php -r "echo ini_get('extension_dir');")
601609
if [[ "${{ matrix.os }}" == "macos-15" ]]; then

bindings/php/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "css_inline_php"
99
crate-type = ["cdylib"]
1010

1111
[dependencies]
12-
ext-php-rs = "0.15.2"
12+
ext-php-rs = "=0.15.2"
1313
rayon = "1"
1414

1515
[dependencies.css-inline]

0 commit comments

Comments
 (0)