From 9d2d3d2d0a971a07c4eabe842d8fef1a657e22a1 Mon Sep 17 00:00:00 2001 From: DubbleClick Date: Fri, 18 Jul 2025 14:47:05 +0700 Subject: [PATCH] test # Conflicts: # src/globals/test-extensions.php --- config/lib.json | 5 ++++- src/globals/test-extensions.php | 24 ++++++++++++------------ 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/config/lib.json b/config/lib.json index 98408199..f2f71448 100644 --- a/config/lib.json +++ b/config/lib.json @@ -520,7 +520,10 @@ ], "lib-suggests-unix": [ "lerc", - "jbig" + "jbig", + "xz", + "webp", + "zstd" ] }, "libuuid": { diff --git a/src/globals/test-extensions.php b/src/globals/test-extensions.php index 07d2e039..9f802fdc 100644 --- a/src/globals/test-extensions.php +++ b/src/globals/test-extensions.php @@ -14,26 +14,26 @@ declare(strict_types=1); // test php version (8.1 ~ 8.4 available, multiple for matrix) $test_php_version = [ '8.1', - '8.2', - '8.3', + // '8.2', + // '8.3', '8.4', ]; // test os (macos-13, macos-14, macos-15, ubuntu-latest, windows-latest are available) $test_os = [ - // 'macos-13', // bin/spc for x86_64 + 'macos-13', // bin/spc for x86_64 // 'macos-14', // bin/spc for arm64 - // 'macos-15', // bin/spc for arm64 - // 'ubuntu-latest', // bin/spc-alpine-docker for x86_64 - // 'ubuntu-22.04', // bin/spc-gnu-docker for x86_64 + 'macos-15', // bin/spc for arm64 + 'ubuntu-latest', // bin/spc-alpine-docker for x86_64 + 'ubuntu-22.04', // bin/spc-gnu-docker for x86_64 // 'ubuntu-24.04', // bin/spc for x86_64 - // 'ubuntu-22.04-arm', // bin/spc-gnu-docker for arm64 + 'ubuntu-22.04-arm', // bin/spc-gnu-docker for arm64 // 'ubuntu-24.04-arm', // bin/spc for arm64 - 'windows-latest', // .\bin\spc.ps1 + // 'windows-latest', // .\bin\spc.ps1 ]; // whether enable thread safe -$zts = false; +$zts = true; $no_strip = false; @@ -48,8 +48,8 @@ $prefer_pre_built = false; // If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`). $extensions = match (PHP_OS_FAMILY) { - 'Linux', 'Darwin' => 'imap,swoole', - 'Windows' => 'curl', + 'Linux', 'Darwin' => 'imagick', + 'Windows' => 'intl', }; // If you want to test shared extensions, add them below (comma separated, example `bcmath,openssl`). @@ -60,7 +60,7 @@ $shared_extensions = match (PHP_OS_FAMILY) { }; // If you want to test lib-suggests for all extensions and libraries, set it to true. -$with_suggested_libs = false; +$with_suggested_libs = true; // If you want to test extra libs for extensions, add them below (comma separated, example `libwebp,libavif`). Unnecessary, when $with_suggested_libs is true. $with_libs = match (PHP_OS_FAMILY) {