Skip to content

Commit 6d14365

Browse files
committed
Adjust ast support
1 parent 287e278 commit 6d14365

File tree

6 files changed

+4
-90
lines changed

6 files changed

+4
-90
lines changed

config/lib.json

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,4 @@
11
{
2-
"ast": {
3-
"source": "ast",
4-
"static-libs-unix": [
5-
"ast.la",
6-
"ast.lo"
7-
],
8-
"static-libs-windows": [
9-
],
10-
"headers": [
11-
"ast_arginfo.h",
12-
"ast_str_defs.h",
13-
"php_ast.h"
14-
]
15-
},
162
"brotli": {
173
"source": "brotli",
184
"static-libs-unix": [

src/SPC/builder/extension/ast.php

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/SPC/builder/linux/library/ast.php

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/SPC/builder/macos/library/ast.php

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/SPC/builder/unix/library/ast.php

Lines changed: 0 additions & 32 deletions
This file was deleted.

src/globals/test-extensions.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
'macos-14',
2525
// 'macos-13',
2626
'ubuntu-latest',
27+
'windows-latest',
2728
];
2829

2930
// whether enable thread safe
@@ -39,8 +40,8 @@
3940

4041
// If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`).
4142
$extensions = match (PHP_OS_FAMILY) {
42-
'Linux', 'Darwin' => 'openssl',
43-
'Windows' => 'openssl',
43+
'Linux', 'Darwin' => 'ast',
44+
'Windows' => 'ast',
4445
};
4546

4647
// If you want to test lib-suggests feature with extension, add them below (comma separated, example `libwebp,libavif`).
@@ -68,7 +69,7 @@ function _getCombination(string $type = 'common'): string
6869
'common' => 'bcmath,bz2,calendar,ctype,curl,dom,exif,fileinfo,filter,ftp,gd,gmp,iconv,xml,mbstring,mbregex,' .
6970
'mysqlnd,openssl,pcntl,pdo,pdo_mysql,pdo_sqlite,phar,posix,redis,session,simplexml,soap,sockets,' .
7071
'sqlite3,tokenizer,xmlwriter,xmlreader,zlib,zip',
71-
'bulk' => 'apcu,ast,bcmath,bz2,calendar,ctype,curl,dba,dom,event,exif,fileinfo,filter,ftp,gd,gmp,iconv,imagick,imap,' .
72+
'bulk' => 'apcu,bcmath,bz2,calendar,ctype,curl,dba,dom,event,exif,fileinfo,filter,ftp,gd,gmp,iconv,imagick,imap,' .
7273
'intl,mbregex,mbstring,mysqli,mysqlnd,opcache,openssl,pcntl,pdo,pdo_mysql,pdo_pgsql,pdo_sqlite,pgsql,phar,' .
7374
'posix,protobuf,readline,redis,session,shmop,simplexml,soap,sockets,sodium,sqlite3,swoole,sysvmsg,sysvsem,' .
7475
'sysvshm,tokenizer,xml,xmlreader,xmlwriter,xsl,zip,zlib',

0 commit comments

Comments
 (0)