beaa65df633a26609cf7feae234824189825aeba
2 <?php
echo "# generated file; do not edit!\n"; ?
>
13 $curlver = array_map(fn($v) => strtr($v, ".", "_"), array_unique(array_slice($argv, 1)));
15 $curlver = array_unique(
18 $split = function($sep, $subject, $def = [""]) {
19 return array_filter(array_map("trim", explode($sep, $subject))) +
$def;
21 foreach (file(__DIR__
."/curlver.dist") as $line) {
22 $rec = $split(":", $split("#", $line)[0]);
23 if (!empty($rec[1])) foreach ($split(" ", $rec[1], []) as $dist_ver) {
24 yield
strtr($dist_ver, ".", "_");
32 rsort($curlver, SORT_NATURAL
);
34 $gen = include __DIR__
. "/ci/gen-matrix.php";
39 "enable_debug" => "yes",
40 "enable_iconv" => "yes",
41 "with_http_libcurl_dir" => "/opt",
43 foreach ($job as $id => $env) {
44 printf(" curl-%s:\n", $env["CURL"]);
45 printf(" name: curl-%s\n", $env["CURL"]);
46 printf(" continue-on-error: true\n");
48 foreach ($env as $key => $val) {
49 printf(" %s: \"%s\"\n", $key, $val);
54 - uses
: actions
/checkout@v2
58 - uses
: actions
/checkout@v2
62 <?php
if ($env["CURL"] !== "master") : ?
>
63 ref
: curl
-<?
=$env["CURL"]?
> #
67 echo 'deb-src http://azure.archive.ubuntu.com/ubuntu jammy main' | sudo tee
-a
/etc
/apt
/sources
.list && \
68 echo 'deb-src http://azure.archive.ubuntu.com/ubuntu jammy-updates main' | sudo tee
-a
/etc
/apt
/sources
.list && \
69 sudo apt
-get update
-y
&& \
70 sudo apt
-get build
-dep
-y libcurl4
-openssl
-dev
&& \
71 sudo apt
-get install
-y \
82 sudo chmod +x
/usr
/share
/libtool
/build
-aux
/ltmain
.sh
83 sudo ln
-s
/usr
/share
/libtool
/build
-aux
/ltmain
.sh
/usr
/bin
/libtool
86 ./configure
--prefix
=/opt
--disable
-dependency
-tracking
--with
-ssl
--with
-openssl
--without
-libssh2
--disable
-ldap
92 make
-f scripts
/ci
/Makefile php || make
-f scripts
/ci
/Makefile clean php
93 make
-f scripts
/ci
/Makefile pecl PECL
=m6w6
/ext
-raphf
.git
:raphf
:master
97 make
-f scripts
/ci
/Makefile ext PECL
=http
101 make
-f scripts
/ci
/Makefile test