diff --git a/config/lib.json b/config/lib.json index 0ec1c5a2..69f92737 100644 --- a/config/lib.json +++ b/config/lib.json @@ -1,18 +1,4 @@ { - "ast": { - "source": "ast", - "static-libs-unix": [ - "ast.la", - "ast.lo" - ], - "static-libs-windows": [ - ], - "headers": [ - "ast_arginfo.h", - "ast_str_defs.h", - "php_ast.h" - ] - }, "brotli": { "source": "brotli", "static-libs-unix": [ diff --git a/src/SPC/builder/extension/ast.php b/src/SPC/builder/extension/ast.php deleted file mode 100644 index 8a5e825d..00000000 --- a/src/SPC/builder/extension/ast.php +++ /dev/null @@ -1,17 +0,0 @@ -cd($this->source_dir) - ->setEnv(['CFLAGS' => $this->getLibExtraCFlags(), 'LDFLAGS' => $this->getLibExtraLdFlags(), 'LIBS' => $this->getLibExtraLibs()]) - ->exec('phpize') - ->execWithEnv( - './configure ' - ) - ->execWithEnv('make clean') - ->execWithEnv('make') - ->execWithEnv('make install DESTDIR=' . BUILD_ROOT_PATH); - - $this->cleanLaFiles(); - } -} diff --git a/src/globals/test-extensions.php b/src/globals/test-extensions.php index a12a0e60..aacd40c5 100644 --- a/src/globals/test-extensions.php +++ b/src/globals/test-extensions.php @@ -24,6 +24,7 @@ $test_os = [ 'macos-14', // 'macos-13', 'ubuntu-latest', + 'windows-latest', ]; // whether enable thread safe @@ -39,8 +40,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' => 'openssl', - 'Windows' => 'openssl', + 'Linux', 'Darwin' => 'ast', + 'Windows' => 'ast', }; // 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 'common' => 'bcmath,bz2,calendar,ctype,curl,dom,exif,fileinfo,filter,ftp,gd,gmp,iconv,xml,mbstring,mbregex,' . 'mysqlnd,openssl,pcntl,pdo,pdo_mysql,pdo_sqlite,phar,posix,redis,session,simplexml,soap,sockets,' . 'sqlite3,tokenizer,xmlwriter,xmlreader,zlib,zip', - 'bulk' => 'apcu,ast,bcmath,bz2,calendar,ctype,curl,dba,dom,event,exif,fileinfo,filter,ftp,gd,gmp,iconv,imagick,imap,' . + 'bulk' => 'apcu,bcmath,bz2,calendar,ctype,curl,dba,dom,event,exif,fileinfo,filter,ftp,gd,gmp,iconv,imagick,imap,' . 'intl,mbregex,mbstring,mysqli,mysqlnd,opcache,openssl,pcntl,pdo,pdo_mysql,pdo_pgsql,pdo_sqlite,pgsql,phar,' . 'posix,protobuf,readline,redis,session,shmop,simplexml,soap,sockets,sodium,sqlite3,swoole,sysvmsg,sysvsem,' . 'sysvshm,tokenizer,xml,xmlreader,xmlwriter,xsl,zip,zlib',