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

View File

@ -305,7 +305,6 @@
"type": "ghtar",
"repo": "php/frankenphp",
"prefer-stable": true,
"provide-pre-built": false,
"license": {
"type": "file",
"path": "LICENSE"
@ -373,16 +372,6 @@
"path": "LICENSE"
}
},
"frankenphp": {
"type": "ghtar",
"repo": "php/frankenphp",
"prefer-stable": true,
"provide-pre-build": false,
"license": {
"type": "file",
"path": "LICENSE"
}
},
"icu-static-win": {
"type": "url",
"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"
}
},
"krb5": {
"type": "ghtagtar",
"repo": "krb5/krb5",
"match": "krb5.+-final",
"prefer-stable": true,
"license": {
"type": "file",
"path": "NOTICE"
}
},
"ldap": {
"type": "filelist",
"url": "https://www.openldap.org/software/download/OpenLDAP/openldap-release/",
@ -599,6 +598,15 @@
"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": {
"type": "ghtar",
"repo": "libjpeg-turbo/libjpeg-turbo",
@ -652,6 +660,16 @@
"path": "LICENSE"
}
},
"libpsl": {
"type": "ghrel",
"repo": "rockdaboot/libpsl",
"match": "libpsl.+\\.tar\\.gz",
"prefer-stable": true,
"license": {
"type": "file",
"path": "COPYING"
}
},
"librabbitmq": {
"type": "git",
"url": "https://github.com/alanxz/rabbitmq-c.git",
@ -700,6 +718,15 @@
"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": {
"type": "ghtar",
"repo": "axboe/liburing",
@ -1181,46 +1208,6 @@
"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": {
"type": "ghrel",
"repo": "madler/zlib",

View File

@ -31,7 +31,7 @@ $test_os = [
'ubuntu-22.04-arm', // bin/spc-gnu-docker for arm64
'ubuntu-24.04-arm', // bin/spc for arm64
// 'windows-2022', // .\bin\spc.ps1
'windows-2025',
// 'windows-2025',
];
// 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`).
$extensions = match (PHP_OS_FAMILY) {
'Linux', 'Darwin' => 'rdkafka',
'Linux', 'Darwin' => 'curl',
'Windows' => 'bcmath',
};
// If you want to test shared extensions, add them below (comma separated, example `bcmath,openssl`).
$shared_extensions = match (PHP_OS_FAMILY) {
'Linux' => 'snmp',
'Darwin' => 'snmp',
'Linux' => '',
'Darwin' => '',
'Windows' => '',
};