File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -585,11 +585,15 @@ jobs:
585585 EXT_DIR=$(php -r "echo ini_get('extension_dir');")
586586
587587 if [[ "${{ matrix.os }}" == "macos-13" ]]; then
588- BUILT_LIB=$(find target/release -name "*.dylib" | head -1)
588+ BUILT_LIB=$(find target/release -name "libcss_inline_php.dylib" -o -name "css_inline_php.dylib" | head -1)
589+ if [[ -z "$BUILT_LIB" ]]; then
590+ BUILT_LIB=$(find target/release -name "*.dylib" | head -1)
591+ fi
592+ sudo cp "$BUILT_LIB" "$EXT_DIR/css_inline.so"
589593 else
590594 BUILT_LIB=$(find target/release -name "*.so" | head -1)
595+ sudo cp "$BUILT_LIB" "$EXT_DIR/css_inline.so"
591596 fi
592- sudo cp "$BUILT_LIB" "$EXT_DIR/css_inline.so"
593597 working-directory : ./bindings/php
594598 shell : bash
595599
Original file line number Diff line number Diff line change 66use CssInline ;
77use TijsVerkoyen \CssToInlineStyles \CssToInlineStyles ;
88
9- ini_set ('pcre.backtrack_limit ' , 1000000 );
109
1110class InlineBench
1211{
@@ -15,6 +14,8 @@ class InlineBench
1514 public function __construct ()
1615 {
1716 $ this ->cssToInlineStyles = new CssToInlineStyles ();
17+ ini_set ('pcre.backtrack_limit ' , '10000000 ' );
18+ ini_set ('pcre.recursion_limit ' , '10000000 ' );
1819 }
1920
2021 /**
You can’t perform that action at this time.
0 commit comments