projects
/
awesomized
/
ext-ion
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
ci: attempt to fix codecov
[awesomized/ext-ion]
/
scripts
/
gen_github_workflow_ci.php
diff --git
a/scripts/gen_github_workflow_ci.php
b/scripts/gen_github_workflow_ci.php
index ff4e890bd530f5c7c4aa61b8c4e1fbc112225844..6ae9e4513d527e911cc8ce0c106dee603085eaf6 100755
(executable)
--- a/
scripts/gen_github_workflow_ci.php
+++ b/
scripts/gen_github_workflow_ci.php
@@
-4,8
+4,36
@@
name: ci
on:
workflow_dispatch:
name: ci
on:
workflow_dispatch:
- push:
+ release:
+ types: [published]
pull_request:
pull_request:
+ paths-ignore:
+ - .dockerignore
+ - .editorconfig
+ - .gitignore
+ - AUTHORS
+ - CONTRIBUTING.md
+ - CREDITS
+ - Dockerfile
+ - 'docs/**'
+ - EXPERIMENTAL
+ - gen_stub.php*.diff
+ - LICENSE
+ - README.md
+ push:
+ paths-ignore:
+ - .dockerignore
+ - .editorconfig
+ - .gitignore
+ - AUTHORS
+ - CONTRIBUTING.md
+ - CREDITS
+ - Dockerfile
+ - 'docs/**'
+ - EXPERIMENTAL
+ - gen_stub.php*.diff
+ - LICENSE
+ - README.md
jobs:
<?php
jobs:
<?php
@@
-14,6
+42,7
@@
$cur = "8.1";
$job = $gen->github([
"cur" => [
"PHP" => $cur,
$job = $gen->github([
"cur" => [
"PHP" => $cur,
+ "enable_intl" => "yes",
"enable_debug",
"enable_zts",
],
"enable_debug",
"enable_zts",
],
@@
-21,6
+50,7
@@
$job = $gen->github([
"CFLAGS" => "-O0 -g --coverage",
"CXXFLAGS" => "-O0 -g --coverage",
"PHP" => $cur,
"CFLAGS" => "-O0 -g --coverage",
"CXXFLAGS" => "-O0 -g --coverage",
"PHP" => $cur,
+ "enable_intl" => "yes",
]]);
foreach ($job as $id => $env) {
printf(" %s:\n", $id);
]]);
foreach ($job as $id => $env) {
printf(" %s:\n", $id);
@@
-57,8
+87,11
@@
foreach ($job as $id => $env) {
- name: Coverage
if: success()
run: |
- name: Coverage
if: success()
run: |
+ find . -name '*.gc*'
cd .libs
cd .libs
- bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy
+ curl -Os https://uploader.codecov.io/latest/linux/codecov
+ chmod +x codecov
+ ./codecov
<?php endif; ?>
<?php
<?php endif; ?>
<?php