test curl

This commit is contained in:
Marc Henderkes 2025-11-18 11:28:25 +01:00
parent aee733b51f
commit a33ca44ca9
3 changed files with 92 additions and 109 deletions

View File

@ -249,6 +249,24 @@
"unicode" "unicode"
] ]
}, },
"idn2": {
"source": "libidn2",
"pkg-configs": [
"libidn2"
],
"headers": [
"idn2.h"
],
"lib-suggests-unix": [
"libiconv",
"libunistring",
"gettext"
],
"lib-depends-macos": [
"libiconv",
"gettext"
]
},
"imagemagick": { "imagemagick": {
"source": "imagemagick", "source": "imagemagick",
"cpp-library": true, "cpp-library": true,
@ -296,6 +314,16 @@
"jbig_ar.h" "jbig_ar.h"
] ]
}, },
"krb5": {
"source": "krb5",
"pkg-configs": [
"krb5-gssapi"
],
"headers": [
"krb5.h",
"gssapi/gssapi.h"
]
},
"ldap": { "ldap": {
"source": "ldap", "source": "ldap",
"pkg-configs": [ "pkg-configs": [
@ -583,6 +611,16 @@
"zstd" "zstd"
] ]
}, },
"libunistring": {
"source": "libunistring",
"static-libs-unix": [
"libunistring.a"
],
"headers": [
"unistring.h",
"unistring/"
]
},
"liburing": { "liburing": {
"source": "liburing", "source": "liburing",
"pkg-configs": [ "pkg-configs": [
@ -847,6 +885,18 @@
"libpgcommon.lib" "libpgcommon.lib"
] ]
}, },
"psl": {
"source": "libpsl",
"pkg-configs": [
"libpsl"
],
"headers": [
"libpsl.h"
],
"lib-depends": [
"idn2"
]
},
"pthreads4w": { "pthreads4w": {
"source": "pthreads4w", "source": "pthreads4w",
"static-libs-windows": [ "static-libs-windows": [
@ -956,56 +1006,6 @@
"libiconv" "libiconv"
] ]
}, },
"krb5": {
"source": "krb5",
"pkg-configs": [
"krb5-gssapi"
],
"headers": [
"krb5.h",
"gssapi/gssapi.h"
]
},
"libunistring": {
"source": "libunistring",
"static-libs-unix": [
"libunistring.a"
],
"headers": [
"unistring.h",
"unistring/"
]
},
"idn2": {
"source": "libidn2",
"pkg-configs": [
"libidn2"
],
"headers": [
"idn2.h"
],
"lib-suggests-linux": [
"libiconv",
"libunistring",
"gettext"
],
"lib-depends-macos": [
"libiconv",
"gettext"
]
},
"psl": {
"source": "libpsl",
"pkg-configs": [
"libpsl"
],
"headers": [
"libpsl.h"
],
"lib-depends": [
"idn2"
]
},
"zlib": { "zlib": {
"source": "zlib", "source": "zlib",
"static-libs-unix": [ "static-libs-unix": [
@ -1039,9 +1039,5 @@
"zstd.h", "zstd.h",
"zstd_errors.h" "zstd_errors.h"
] ]
},
"frankenphp": {
"source": "frankenphp",
"type": "target"
} }
} }

View File

@ -305,7 +305,6 @@
"type": "ghtar", "type": "ghtar",
"repo": "php/frankenphp", "repo": "php/frankenphp",
"prefer-stable": true, "prefer-stable": true,
"provide-pre-built": false,
"license": { "license": {
"type": "file", "type": "file",
"path": "LICENSE" "path": "LICENSE"
@ -373,16 +372,6 @@
"path": "LICENSE" "path": "LICENSE"
} }
}, },
"frankenphp": {
"type": "ghtar",
"repo": "php/frankenphp",
"prefer-stable": true,
"provide-pre-build": false,
"license": {
"type": "file",
"path": "LICENSE"
}
},
"icu-static-win": { "icu-static-win": {
"type": "url", "type": "url",
"url": "https://dl.static-php.dev/static-php-cli/deps/icu-static-windows-x64/icu-static-windows-x64.zip", "url": "https://dl.static-php.dev/static-php-cli/deps/icu-static-windows-x64/icu-static-windows-x64.zip",
@ -441,6 +430,16 @@
"path": "COPYING" "path": "COPYING"
} }
}, },
"krb5": {
"type": "ghtagtar",
"repo": "krb5/krb5",
"match": "krb5.+-final",
"prefer-stable": true,
"license": {
"type": "file",
"path": "NOTICE"
}
},
"ldap": { "ldap": {
"type": "filelist", "type": "filelist",
"url": "https://www.openldap.org/software/download/OpenLDAP/openldap-release/", "url": "https://www.openldap.org/software/download/OpenLDAP/openldap-release/",
@ -599,6 +598,15 @@
"path": "source/COPYING" "path": "source/COPYING"
} }
}, },
"libidn2": {
"type": "filelist",
"url": "https://ftp.gnu.org/gnu/libidn/",
"regex": "/href=\"(?<file>libidn2-(?<version>[^\"]+)\\.tar\\.gz)\"/",
"license": {
"type": "file",
"path": "COPYING"
}
},
"libjpeg": { "libjpeg": {
"type": "ghtar", "type": "ghtar",
"repo": "libjpeg-turbo/libjpeg-turbo", "repo": "libjpeg-turbo/libjpeg-turbo",
@ -652,6 +660,16 @@
"path": "LICENSE" "path": "LICENSE"
} }
}, },
"libpsl": {
"type": "ghrel",
"repo": "rockdaboot/libpsl",
"match": "libpsl.+\\.tar\\.gz",
"prefer-stable": true,
"license": {
"type": "file",
"path": "COPYING"
}
},
"librabbitmq": { "librabbitmq": {
"type": "git", "type": "git",
"url": "https://github.com/alanxz/rabbitmq-c.git", "url": "https://github.com/alanxz/rabbitmq-c.git",
@ -700,6 +718,15 @@
"path": "LICENSE.md" "path": "LICENSE.md"
} }
}, },
"libunistring": {
"type": "filelist",
"url": "https://ftp.gnu.org/gnu/libunistring/",
"regex": "/href=\"(?<file>libunistring-(?<version>[^\"]+)\\.tar\\.gz)\"/",
"license": {
"type": "file",
"path": "COPYING.LIB"
}
},
"liburing": { "liburing": {
"type": "ghtar", "type": "ghtar",
"repo": "axboe/liburing", "repo": "axboe/liburing",
@ -1181,46 +1208,6 @@
"path": "LICENSE" "path": "LICENSE"
} }
}, },
"krb5": {
"type": "ghtagtar",
"repo": "krb5/krb5",
"match": "krb5.+-final",
"prefer-stable": true,
"license": {
"type": "file",
"path": "NOTICE"
}
},
"libunistring": {
"type": "filelist",
"url": "https://ftp.gnu.org/gnu/libunistring/",
"regex": "/href=\"(?<file>libunistring-(?<version>[^\"]+)\\.tar\\.gz)\"/",
"prefer-stable": true,
"license": {
"type": "file",
"path": "COPYING.LIB"
}
},
"libidn2": {
"type": "filelist",
"url": "https://ftp.gnu.org/gnu/libidn/",
"regex": "/href=\"(?<file>libidn2-(?<version>[^\"]+)\\.tar\\.gz)\"/",
"prefer-stable": true,
"license": {
"type": "file",
"path": "COPYING"
}
},
"libpsl": {
"type": "ghrel",
"repo": "rockdaboot/libpsl",
"match": "libpsl.+\\.tar\\.gz",
"prefer-stable": true,
"license": {
"type": "file",
"path": "COPYING"
}
},
"zlib": { "zlib": {
"type": "ghrel", "type": "ghrel",
"repo": "madler/zlib", "repo": "madler/zlib",

View File

@ -31,7 +31,7 @@ $test_os = [
'ubuntu-22.04-arm', // bin/spc-gnu-docker for arm64 'ubuntu-22.04-arm', // bin/spc-gnu-docker for arm64
'ubuntu-24.04-arm', // bin/spc for arm64 'ubuntu-24.04-arm', // bin/spc for arm64
// 'windows-2022', // .\bin\spc.ps1 // 'windows-2022', // .\bin\spc.ps1
'windows-2025', // 'windows-2025',
]; ];
// whether enable thread safe // whether enable thread safe
@ -50,14 +50,14 @@ $prefer_pre_built = false;
// If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`). // If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`).
$extensions = match (PHP_OS_FAMILY) { $extensions = match (PHP_OS_FAMILY) {
'Linux', 'Darwin' => 'rdkafka', 'Linux', 'Darwin' => 'curl',
'Windows' => 'bcmath', 'Windows' => 'bcmath',
}; };
// If you want to test shared extensions, add them below (comma separated, example `bcmath,openssl`). // If you want to test shared extensions, add them below (comma separated, example `bcmath,openssl`).
$shared_extensions = match (PHP_OS_FAMILY) { $shared_extensions = match (PHP_OS_FAMILY) {
'Linux' => 'snmp', 'Linux' => '',
'Darwin' => 'snmp', 'Darwin' => '',
'Windows' => '', 'Windows' => '',
}; };