Skip to content

Commit 96babd0

Browse files
committed
crazy test
1 parent 464c2dc commit 96babd0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/globals/test-extensions.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,11 @@
3535
$zig = true;
3636
// temporary!
3737
if ($zig) {
38-
putenv('SPC_LIBC=glibc');
39-
putenv('SPC_LIBC_VERSION=2.17');
38+
putenv('SPC_LIBC=musl');
39+
// putenv('SPC_LIBC_VERSION=2.17');
4040
putenv('CC=zig-cc');
4141
putenv('CXX=zig-c++');
42+
exec('ulimit -n 2048');
4243
}
4344

4445
// whether enable thread safe
@@ -57,7 +58,7 @@
5758

5859
// If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`).
5960
$extensions = match (PHP_OS_FAMILY) {
60-
'Linux', 'Darwin' => 'apcu,ast,bcmath,calendar,ctype,curl,dba,dom,exif,fileinfo,filter,iconv,libxml,mbregex,mbstring,opcache,openssl,pcntl,phar,posix,readline,session,simplexml,sockets,sodium,tokenizer,xml,xmlreader,xmlwriter,zip,zlib',
61+
'Linux', 'Darwin' => 'apcu,ast,bcmath,calendar,ctype,curl,dba,dom,exif,fileinfo,filter,iconv,libxml,mbregex,mbstring,opcache,openssl,pcntl,phar,posix,readline,session,simplexml,sockets,sodium,tokenizer,xml,xmlreader,xmlwriter,zip,zlib,amqp,brotli,bz2,dio,ds,ev,event,ffi,ftp,gd,gettext,gmp,gmssl,igbinary,imagick,inotify,intl,ldap,lz4,memcache,memcached,mongodb,msgpack,mysqli,mysqlnd,odbc,opentelemetry,parallel,pdo,pdo_mysql,pdo_odbc,pdo_pgsql,pdo_sqlite,pdo_sqlsrv,pgsql,protobuf,rar,redis,rdkafka,shmop,spx,sqlite3,sqlsrv,ssh2,swoole,sysvmsg,sysvsem,sysvshm,tidy,uuid,uv,xhprof,xlswriter,xsl,xz,yac,yaml,zstd',
6162
'Windows' => 'intl',
6263
};
6364

0 commit comments

Comments
 (0)