Skip to content

Commit 1e47803

Browse files
authored
Update test-extensions.php for PHP versions and extensions
Commented out older PHP versions and Windows 2025 in the test configuration. Updated the extensions to test for Linux and Darwin.
1 parent 6b67cb9 commit 1e47803

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/globals/test-extensions.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313

1414
// test php version (8.1 ~ 8.4 available, multiple for matrix)
1515
$test_php_version = [
16-
'8.1',
17-
'8.2',
18-
'8.3',
19-
'8.4',
16+
// '8.1',
17+
// '8.2',
18+
// '8.3',
19+
// '8.4',
2020
'8.5',
2121
// 'git',
2222
];
@@ -26,12 +26,12 @@
2626
// 'macos-15-intel', // bin/spc for x86_64
2727
// 'macos-15', // bin/spc for arm64
2828
// 'ubuntu-latest', // bin/spc-alpine-docker for x86_64
29-
// 'ubuntu-22.04', // bin/spc-gnu-docker for x86_64
30-
// 'ubuntu-24.04', // bin/spc for x86_64
31-
// 'ubuntu-22.04-arm', // bin/spc-gnu-docker for arm64
32-
// 'ubuntu-24.04-arm', // bin/spc for arm64
29+
'ubuntu-22.04', // bin/spc-gnu-docker for x86_64
30+
'ubuntu-24.04', // bin/spc for x86_64
31+
'ubuntu-22.04-arm', // bin/spc-gnu-docker for arm64
32+
'ubuntu-24.04-arm', // bin/spc for arm64
3333
// 'windows-2022', // .\bin\spc.ps1
34-
'windows-2025',
34+
// 'windows-2025',
3535
];
3636

3737
// whether enable thread safe
@@ -50,13 +50,13 @@
5050

5151
// If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`).
5252
$extensions = match (PHP_OS_FAMILY) {
53-
'Linux', 'Darwin' => 'mysqli,gmp',
53+
'Linux', 'Darwin' => 'pgsql',
5454
'Windows' => 'com_dotnet',
5555
};
5656

5757
// If you want to test shared extensions, add them below (comma separated, example `bcmath,openssl`).
5858
$shared_extensions = match (PHP_OS_FAMILY) {
59-
'Linux' => 'grpc,mysqlnd_parsec,mysqlnd_ed25519',
59+
'Linux' => '',
6060
'Darwin' => '',
6161
'Windows' => '',
6262
};
@@ -66,7 +66,7 @@
6666

6767
// If you want to test extra libs for extensions, add them below (comma separated, example `libwebp,libavif`). Unnecessary, when $with_suggested_libs is true.
6868
$with_libs = match (PHP_OS_FAMILY) {
69-
'Linux', 'Darwin' => 'libwebp',
69+
'Linux', 'Darwin' => '',
7070
'Windows' => '',
7171
};
7272

0 commit comments

Comments
 (0)