Skip to content

Commit a33ca44

Browse files
committed
test curl
1 parent aee733b commit a33ca44

File tree

3 files changed

+92
-109
lines changed

3 files changed

+92
-109
lines changed

config/lib.json

Lines changed: 50 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,24 @@
249249
"unicode"
250250
]
251251
},
252+
"idn2": {
253+
"source": "libidn2",
254+
"pkg-configs": [
255+
"libidn2"
256+
],
257+
"headers": [
258+
"idn2.h"
259+
],
260+
"lib-suggests-unix": [
261+
"libiconv",
262+
"libunistring",
263+
"gettext"
264+
],
265+
"lib-depends-macos": [
266+
"libiconv",
267+
"gettext"
268+
]
269+
},
252270
"imagemagick": {
253271
"source": "imagemagick",
254272
"cpp-library": true,
@@ -296,6 +314,16 @@
296314
"jbig_ar.h"
297315
]
298316
},
317+
"krb5": {
318+
"source": "krb5",
319+
"pkg-configs": [
320+
"krb5-gssapi"
321+
],
322+
"headers": [
323+
"krb5.h",
324+
"gssapi/gssapi.h"
325+
]
326+
},
299327
"ldap": {
300328
"source": "ldap",
301329
"pkg-configs": [
@@ -583,6 +611,16 @@
583611
"zstd"
584612
]
585613
},
614+
"libunistring": {
615+
"source": "libunistring",
616+
"static-libs-unix": [
617+
"libunistring.a"
618+
],
619+
"headers": [
620+
"unistring.h",
621+
"unistring/"
622+
]
623+
},
586624
"liburing": {
587625
"source": "liburing",
588626
"pkg-configs": [
@@ -847,6 +885,18 @@
847885
"libpgcommon.lib"
848886
]
849887
},
888+
"psl": {
889+
"source": "libpsl",
890+
"pkg-configs": [
891+
"libpsl"
892+
],
893+
"headers": [
894+
"libpsl.h"
895+
],
896+
"lib-depends": [
897+
"idn2"
898+
]
899+
},
850900
"pthreads4w": {
851901
"source": "pthreads4w",
852902
"static-libs-windows": [
@@ -956,56 +1006,6 @@
9561006
"libiconv"
9571007
]
9581008
},
959-
"krb5": {
960-
"source": "krb5",
961-
"pkg-configs": [
962-
"krb5-gssapi"
963-
],
964-
"headers": [
965-
"krb5.h",
966-
"gssapi/gssapi.h"
967-
]
968-
},
969-
"libunistring": {
970-
"source": "libunistring",
971-
"static-libs-unix": [
972-
"libunistring.a"
973-
],
974-
"headers": [
975-
"unistring.h",
976-
"unistring/"
977-
]
978-
},
979-
"idn2": {
980-
"source": "libidn2",
981-
"pkg-configs": [
982-
"libidn2"
983-
],
984-
"headers": [
985-
"idn2.h"
986-
],
987-
"lib-suggests-linux": [
988-
"libiconv",
989-
"libunistring",
990-
"gettext"
991-
],
992-
"lib-depends-macos": [
993-
"libiconv",
994-
"gettext"
995-
]
996-
},
997-
"psl": {
998-
"source": "libpsl",
999-
"pkg-configs": [
1000-
"libpsl"
1001-
],
1002-
"headers": [
1003-
"libpsl.h"
1004-
],
1005-
"lib-depends": [
1006-
"idn2"
1007-
]
1008-
},
10091009
"zlib": {
10101010
"source": "zlib",
10111011
"static-libs-unix": [
@@ -1039,9 +1039,5 @@
10391039
"zstd.h",
10401040
"zstd_errors.h"
10411041
]
1042-
},
1043-
"frankenphp": {
1044-
"source": "frankenphp",
1045-
"type": "target"
10461042
}
10471043
}

config/source.json

Lines changed: 38 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,6 @@
305305
"type": "ghtar",
306306
"repo": "php/frankenphp",
307307
"prefer-stable": true,
308-
"provide-pre-built": false,
309308
"license": {
310309
"type": "file",
311310
"path": "LICENSE"
@@ -373,16 +372,6 @@
373372
"path": "LICENSE"
374373
}
375374
},
376-
"frankenphp": {
377-
"type": "ghtar",
378-
"repo": "php/frankenphp",
379-
"prefer-stable": true,
380-
"provide-pre-build": false,
381-
"license": {
382-
"type": "file",
383-
"path": "LICENSE"
384-
}
385-
},
386375
"icu-static-win": {
387376
"type": "url",
388377
"url": "https://dl.static-php.dev/static-php-cli/deps/icu-static-windows-x64/icu-static-windows-x64.zip",
@@ -441,6 +430,16 @@
441430
"path": "COPYING"
442431
}
443432
},
433+
"krb5": {
434+
"type": "ghtagtar",
435+
"repo": "krb5/krb5",
436+
"match": "krb5.+-final",
437+
"prefer-stable": true,
438+
"license": {
439+
"type": "file",
440+
"path": "NOTICE"
441+
}
442+
},
444443
"ldap": {
445444
"type": "filelist",
446445
"url": "https://www.openldap.org/software/download/OpenLDAP/openldap-release/",
@@ -599,6 +598,15 @@
599598
"path": "source/COPYING"
600599
}
601600
},
601+
"libidn2": {
602+
"type": "filelist",
603+
"url": "https://ftp.gnu.org/gnu/libidn/",
604+
"regex": "/href=\"(?<file>libidn2-(?<version>[^\"]+)\\.tar\\.gz)\"/",
605+
"license": {
606+
"type": "file",
607+
"path": "COPYING"
608+
}
609+
},
602610
"libjpeg": {
603611
"type": "ghtar",
604612
"repo": "libjpeg-turbo/libjpeg-turbo",
@@ -652,6 +660,16 @@
652660
"path": "LICENSE"
653661
}
654662
},
663+
"libpsl": {
664+
"type": "ghrel",
665+
"repo": "rockdaboot/libpsl",
666+
"match": "libpsl.+\\.tar\\.gz",
667+
"prefer-stable": true,
668+
"license": {
669+
"type": "file",
670+
"path": "COPYING"
671+
}
672+
},
655673
"librabbitmq": {
656674
"type": "git",
657675
"url": "https://github.com/alanxz/rabbitmq-c.git",
@@ -700,6 +718,15 @@
700718
"path": "LICENSE.md"
701719
}
702720
},
721+
"libunistring": {
722+
"type": "filelist",
723+
"url": "https://ftp.gnu.org/gnu/libunistring/",
724+
"regex": "/href=\"(?<file>libunistring-(?<version>[^\"]+)\\.tar\\.gz)\"/",
725+
"license": {
726+
"type": "file",
727+
"path": "COPYING.LIB"
728+
}
729+
},
703730
"liburing": {
704731
"type": "ghtar",
705732
"repo": "axboe/liburing",
@@ -1181,46 +1208,6 @@
11811208
"path": "LICENSE"
11821209
}
11831210
},
1184-
"krb5": {
1185-
"type": "ghtagtar",
1186-
"repo": "krb5/krb5",
1187-
"match": "krb5.+-final",
1188-
"prefer-stable": true,
1189-
"license": {
1190-
"type": "file",
1191-
"path": "NOTICE"
1192-
}
1193-
},
1194-
"libunistring": {
1195-
"type": "filelist",
1196-
"url": "https://ftp.gnu.org/gnu/libunistring/",
1197-
"regex": "/href=\"(?<file>libunistring-(?<version>[^\"]+)\\.tar\\.gz)\"/",
1198-
"prefer-stable": true,
1199-
"license": {
1200-
"type": "file",
1201-
"path": "COPYING.LIB"
1202-
}
1203-
},
1204-
"libidn2": {
1205-
"type": "filelist",
1206-
"url": "https://ftp.gnu.org/gnu/libidn/",
1207-
"regex": "/href=\"(?<file>libidn2-(?<version>[^\"]+)\\.tar\\.gz)\"/",
1208-
"prefer-stable": true,
1209-
"license": {
1210-
"type": "file",
1211-
"path": "COPYING"
1212-
}
1213-
},
1214-
"libpsl": {
1215-
"type": "ghrel",
1216-
"repo": "rockdaboot/libpsl",
1217-
"match": "libpsl.+\\.tar\\.gz",
1218-
"prefer-stable": true,
1219-
"license": {
1220-
"type": "file",
1221-
"path": "COPYING"
1222-
}
1223-
},
12241211
"zlib": {
12251212
"type": "ghrel",
12261213
"repo": "madler/zlib",

src/globals/test-extensions.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
'ubuntu-22.04-arm', // bin/spc-gnu-docker for arm64
3232
'ubuntu-24.04-arm', // bin/spc for arm64
3333
// 'windows-2022', // .\bin\spc.ps1
34-
'windows-2025',
34+
// 'windows-2025',
3535
];
3636

3737
// whether enable thread safe
@@ -50,14 +50,14 @@
5050

5151
// If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`).
5252
$extensions = match (PHP_OS_FAMILY) {
53-
'Linux', 'Darwin' => 'rdkafka',
53+
'Linux', 'Darwin' => 'curl',
5454
'Windows' => 'bcmath',
5555
};
5656

5757
// If you want to test shared extensions, add them below (comma separated, example `bcmath,openssl`).
5858
$shared_extensions = match (PHP_OS_FAMILY) {
59-
'Linux' => 'snmp',
60-
'Darwin' => 'snmp',
59+
'Linux' => '',
60+
'Darwin' => '',
6161
'Windows' => '',
6262
};
6363

0 commit comments

Comments
 (0)