add to tests

This commit is contained in:
DubbleClick 2025-06-05 11:37:36 +07:00
parent 92aeb2d816
commit 67320d3eb3

View File

@ -13,22 +13,22 @@ declare(strict_types=1);
// test php version (8.1 ~ 8.4 available, multiple for matrix) // test php version (8.1 ~ 8.4 available, multiple for matrix)
$test_php_version = [ $test_php_version = [
'8.1', // '8.1',
'8.2', // '8.2',
'8.3', // '8.3',
'8.4', '8.4',
]; ];
// test os (macos-13, macos-14, macos-15, ubuntu-latest, windows-latest are available) // test os (macos-13, macos-14, macos-15, ubuntu-latest, windows-latest are available)
$test_os = [ $test_os = [
// 'macos-13', 'macos-13',
// 'macos-14', 'macos-14',
// 'macos-15', 'macos-15',
'ubuntu-latest', 'ubuntu-latest',
// 'ubuntu-22.04', 'ubuntu-22.04',
// 'ubuntu-24.04', 'ubuntu-24.04',
// 'ubuntu-22.04-arm', 'ubuntu-22.04-arm',
// 'ubuntu-24.04-arm', 'ubuntu-24.04-arm',
// 'windows-latest', // 'windows-latest',
]; ];
@ -45,13 +45,13 @@ $prefer_pre_built = false;
// If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`). // If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`).
$extensions = match (PHP_OS_FAMILY) { $extensions = match (PHP_OS_FAMILY) {
'Linux', 'Darwin' => 'xsl,simplexml,xlswriter', 'Linux', 'Darwin' => 'lz4',
'Windows' => 'xlswriter,openssl', 'Windows' => 'xlswriter,openssl',
}; };
// If you want to test shared extensions, add them below (comma separated, example `bcmath,openssl`). // If you want to test shared extensions, add them below (comma separated, example `bcmath,openssl`).
$shared_extensions = match (PHP_OS_FAMILY) { $shared_extensions = match (PHP_OS_FAMILY) {
'Linux' => 'xdebug', 'Linux' => 'xdebug,lz4',
'Windows', 'Darwin' => '', 'Windows', 'Darwin' => '',
}; };