mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-06 08:15:39 +08:00
merge cmake changes from master into icurel
This commit is contained in:
@@ -210,3 +210,9 @@ function get_cmake_version(): ?string
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
function cmake_boolean_args(string $arg_name, bool $negative = false): array
|
||||
{
|
||||
$res = ["-D{$arg_name}=ON", "-D{$arg_name}=OFF"];
|
||||
return $negative ? array_reverse($res) : $res;
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ $test_os = [
|
||||
'macos-13',
|
||||
// 'macos-14',
|
||||
'macos-15',
|
||||
// 'ubuntu-latest',
|
||||
'ubuntu-latest',
|
||||
'ubuntu-22.04',
|
||||
// 'ubuntu-24.04',
|
||||
'ubuntu-22.04-arm',
|
||||
|
||||
Reference in New Issue
Block a user