projects
/
m6w6
/
ext-pq
/ 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-pq]
/
scripts
/
gen_github_workflow_ci.php
diff --git
a/scripts/gen_github_workflow_ci.php
b/scripts/gen_github_workflow_ci.php
index 94c06663f4d1c1319f8c5552df19d99e3035e083..7c2e009087c9f59e1f04810dc8c2f83e8cc82792 100755
(executable)
--- a/
scripts/gen_github_workflow_ci.php
+++ b/
scripts/gen_github_workflow_ci.php
@@
-18,32
+18,25
@@
$job = $gen->github([
"enable_debug" => "yes",
"enable_maintainer_zts" => "yes",
"enable_json" => "yes",
"enable_debug" => "yes",
"enable_maintainer_zts" => "yes",
"enable_json" => "yes",
- "enable_spl" => "yes",
-],
-"master" => [
- "PHP" => ["master"],
+],
+"next" => [
+ "PHP" => ["8.1", "master"],
"enable_debug" => "yes",
"enable_zts" => "yes",
"enable_debug" => "yes",
"enable_zts" => "yes",
- "enable_spl" => "yes",
-],
-"cur-none" => [
- "PHP" => $cur,
-],
+],
"cur-dbg-zts" => [
"PHP" => $cur,
"enable_debug",
"enable_zts",
"cur-dbg-zts" => [
"PHP" => $cur,
"enable_debug",
"enable_zts",
- "enable_spl" => "yes",
-],
+],
"cur-cov" => [
"CFLAGS" => "-O0 -g --coverage",
"CXXFLAGS" => "-O0 -g --coverage",
"PHP" => $cur,
"cur-cov" => [
"CFLAGS" => "-O0 -g --coverage",
"CXXFLAGS" => "-O0 -g --coverage",
"PHP" => $cur,
- "enable_spl" => "yes",
]]);
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");
}
@@
-52,6
+45,7
@@
foreach ($job as $id => $env) {
printf(" %s: \"%s\"\n", $key, $val);
}
?>
printf(" %s: \"%s\"\n", $key, $val);
}
?>
+ PQ_DSN: "postgres:///runner"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2