Skip to content

Commit e04151d

Browse files
committed
ci: fix job names
1 parent 712cc13 commit e04151d

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ jobs:
287287
make -f scripts/ci/Makefile test
288288
289289
cur-dbg-zts-1:
290-
name: php-8.2-debug-zts
290+
name: php-8.2-nodebug-zts
291291
env:
292292
PHP: "8.2"
293293
enable_debug: "no"
@@ -315,7 +315,7 @@ jobs:
315315
make -f scripts/ci/Makefile test
316316
317317
cur-dbg-zts-2:
318-
name: php-8.2-debug-zts
318+
name: php-8.2-debug-nozts
319319
env:
320320
PHP: "8.2"
321321
enable_debug: "yes"
@@ -343,7 +343,7 @@ jobs:
343343
make -f scripts/ci/Makefile test
344344
345345
cur-dbg-zts-3:
346-
name: php-8.2-debug-zts
346+
name: php-8.2-nodebug-nozts
347347
env:
348348
PHP: "8.2"
349349
enable_debug: "no"

scripts/gen_github_workflow_ci.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function yesno(array $env, string $key) : string {
1515
} else {
1616
$check = $key;
1717
}
18-
if ($env["enable_$check"] ?? null === "yes") {
18+
if (($env["enable_$check"] ?? null) === "yes") {
1919
return $key;
2020
}
2121
return "no$key";
@@ -32,14 +32,14 @@ function jobname(string $id, array $env) : string {
3232
"enable_debug" => "yes",
3333
"enable_maintainer_zts" => "yes",
3434
"enable_session" => "yes",
35-
],
35+
],
3636
"master" => [
3737
// master
3838
"PHP" => ["master"],
3939
"enable_debug" => "yes",
4040
"enable_zts" => "yes",
4141
"enable_session" => "yes",
42-
],
42+
],
4343
"cur-matrix" => [
4444
// most useful for all additional versions except current
4545
"PHP" => ["8.0", "8.1"],
@@ -51,14 +51,14 @@ function jobname(string $id, array $env) : string {
5151
// everything disabled for current
5252
"PHP" => $cur,
5353
"enable_session" => "no",
54-
],
54+
],
5555
"cur-dbg-zts" => [
5656
// everything enabled for current, switching debug/zts
5757
"PHP" => $cur,
5858
"enable_debug",
5959
"enable_zts",
6060
"enable_session" => "yes",
61-
],
61+
],
6262
"cur-cov" => [
6363
// once everything enabled for current, with coverage
6464
"CFLAGS" => "-O0 -g --coverage",

0 commit comments

Comments
 (0)