Fix xz build on macOS and Linux (#438)

* fix xz build

* add xz tests
This commit is contained in:
Jerry Ma
2024-05-06 12:55:38 +08:00
committed by GitHub
parent 69e6d82e83
commit 0fee628842
3 changed files with 2 additions and 19 deletions

View File

@@ -13,13 +13,13 @@ declare(strict_types=1);
// If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`).
$extensions = match (PHP_OS_FAMILY) {
'Linux', 'Darwin' => 'readline',
'Linux', 'Darwin' => 'curl',
'Windows' => 'mbstring,pdo_sqlite,mbregex',
};
// If you want to test lib-suggests feature with extension, add them below (comma separated, example `libwebp,libavif`).
$with_libs = match (PHP_OS_FAMILY) {
'Linux', 'Darwin' => '',
'Linux', 'Darwin' => 'xz',
'Windows' => '',
};