projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
ci: add 8.1
[m6w6/ext-http]
/
scripts
/
gen_github_workflow_ci.php
diff --git
a/scripts/gen_github_workflow_ci.php
b/scripts/gen_github_workflow_ci.php
index f714bbcd7cf20fe089cd6e8fec2f9c01325d2fbb..c23f23ec9598fb1a98f10829f7b2eec991b2b4ab 100755
(executable)
--- a/
scripts/gen_github_workflow_ci.php
+++ b/
scripts/gen_github_workflow_ci.php
@@
-13,13
+13,14
@@
jobs:
$gen = include __DIR__ . "/ci/gen-matrix.php";
$cur = "8.0";
$job = $gen->github([
$gen = include __DIR__ . "/ci/gen-matrix.php";
$cur = "8.0";
$job = $gen->github([
-"
master
" => [
+"
next
" => [
// most useful for all additional versions except current
// most useful for all additional versions except current
- "PHP" => ["master"],
+ "PHP" => ["
8.1", "
master"],
"enable_debug" => "yes",
"enable_zts" => "yes",
"enable_iconv" => "yes",
"enable_debug" => "yes",
"enable_zts" => "yes",
"enable_iconv" => "yes",
-],
+ "TEST_PHP_ARGS" => "-d error_reporting=24575" // ignore E_DEPRECATED
+],
"cur-none" => [
// everything disabled for current
"PHP" => $cur,
"cur-none" => [
// everything disabled for current
"PHP" => $cur,
@@
-29,18
+30,18
@@
$job = $gen->github([
"with_http_libcurl_dir" => "no",
"with_http_libevent_dir" => "no",
"with_http_libbrotli_dir" => "no",
"with_http_libcurl_dir" => "no",
"with_http_libevent_dir" => "no",
"with_http_libbrotli_dir" => "no",
-],
+],
"cur-dbg-zts" => [
// everything enabled for current, switching debug/zts
"PHP" => $cur,
"enable_debug",
"enable_zts",
"enable_iconv" => "yes",
"cur-dbg-zts" => [
// everything enabled for current, switching debug/zts
"PHP" => $cur,
"enable_debug",
"enable_zts",
"enable_iconv" => "yes",
-],
+],
"cur-cov" => [
// once everything enabled for current, with coverage
"cur-cov" => [
// once everything enabled for current, with coverage
- "CFLAGS" => "
'-O0 -g --coverage'
",
- "CXXFLAGS" => "
'-O0 -g --coverage'
",
+ "CFLAGS" => "
-O0 -g --coverage
",
+ "CXXFLAGS" => "
-O0 -g --coverage
",
"PHP" => $cur,
"enable_iconv" => "yes",
[
"PHP" => $cur,
"enable_iconv" => "yes",
[
@@
-52,7
+53,7
@@
$job = $gen->github([
]]);
foreach ($job as $id => $env) {
printf(" %s:\n", $id);
]]);
foreach ($job as $id => $env) {
printf(" %s:\n", $id);
- printf(" name:
%s\n", $id
);
+ printf(" name:
\"%s (%s)\"\n", $id, $env["PHP"]
);
if ($env["PHP"] == "master") {
printf(" continue-on-error: true\n");
}
if ($env["PHP"] == "master") {
printf(" continue-on-error: true\n");
}
@@
-76,7
+77,8
@@
foreach ($job as $id => $env) {
libidn2-0-dev \
libicu-dev \
libevent-dev \
libidn2-0-dev \
libicu-dev \
libevent-dev \
- libbrotli-dev
+ libbrotli-dev \
+ re2c
- name: Prepare
run: |
make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
- name: Prepare
run: |
make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php