mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
don't zig the tests yet
This commit is contained in:
parent
df0d5fdbe8
commit
5370af4a84
@ -32,18 +32,6 @@ $test_os = [
|
|||||||
// 'windows-latest', // .\bin\spc.ps1
|
// 'windows-latest', // .\bin\spc.ps1
|
||||||
];
|
];
|
||||||
|
|
||||||
$zig = true;
|
|
||||||
// temporary!
|
|
||||||
if ($zig) {
|
|
||||||
putenv('SPC_LIBC=glibc');
|
|
||||||
putenv('SPC_LIBC_VERSION=2.28');
|
|
||||||
putenv('CC=zig-cc');
|
|
||||||
putenv('CXX=zig-c++');
|
|
||||||
putenv('AR=ar');
|
|
||||||
putenv('LD=ld');
|
|
||||||
exec('ulimit -n 2048');
|
|
||||||
}
|
|
||||||
|
|
||||||
// whether enable thread safe
|
// whether enable thread safe
|
||||||
$zts = true;
|
$zts = true;
|
||||||
|
|
||||||
@ -170,7 +158,7 @@ if ($shared_extensions) {
|
|||||||
break;
|
break;
|
||||||
case 'ubuntu-24.04':
|
case 'ubuntu-24.04':
|
||||||
case 'ubuntu-24.04-arm':
|
case 'ubuntu-24.04-arm':
|
||||||
if (getenv('SPC_LIBC') === 'glibc') {
|
if (str_contains((string) getenv('SPC_TARGET'), '-gnu')) {
|
||||||
$shared_cmd = ' --build-shared=' . quote2($shared_extensions) . ' ';
|
$shared_cmd = ' --build-shared=' . quote2($shared_extensions) . ' ';
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user