Add macOS x86_64 test

This commit is contained in:
crazywhalecc 2024-12-13 15:36:51 +08:00
parent 44dcc830f4
commit 985cd6781e
No known key found for this signature in database
GPG Key ID: 1F4BDD59391F2680

View File

@ -21,8 +21,9 @@ $test_php_version = [
// test os (macos-13, macos-14, ubuntu-latest, windows-latest are available) // test os (macos-13, macos-14, ubuntu-latest, windows-latest are available)
$test_os = [ $test_os = [
'macos-14', // 'macos-14',
'ubuntu-latest', 'macos-13',
// 'ubuntu-latest',
]; ];
// whether enable thread safe // whether enable thread safe
@ -52,7 +53,7 @@ $with_libs = match (PHP_OS_FAMILY) {
// You can use `common`, `bulk`, `minimal` or `none`. // You can use `common`, `bulk`, `minimal` or `none`.
// note: combination is only available for *nix platform. Windows must use `none` combination // note: combination is only available for *nix platform. Windows must use `none` combination
$base_combination = match (PHP_OS_FAMILY) { $base_combination = match (PHP_OS_FAMILY) {
'Linux', 'Darwin' => 'minimal', 'Linux', 'Darwin' => 'bulk',
'Windows' => 'none', 'Windows' => 'none',
}; };