add opentelemetry extension support (#593)

* add opentelemetry extension support

* config sort

* cleanup build args

* Update docs

* Adjust custom extension overrides for opentelemetry

* Add tests

* Update README.md and remove windows limitation

* Fix windows static build for opentelemetry

---------

Co-authored-by: crazywhalecc <jesse2061@outlook.com>
This commit is contained in:
Alexander Over
2025-02-06 05:27:43 +01:00
committed by GitHub
parent f19e90afd7
commit 21de1a2291
7 changed files with 87 additions and 9 deletions

View File

@@ -13,17 +13,18 @@ declare(strict_types=1);
// test php version
$test_php_version = [
// '8.1',
// '8.2',
// '8.3',
'8.1',
'8.2',
'8.3',
'8.4',
];
// test os (macos-13, macos-14, ubuntu-latest, windows-latest are available)
$test_os = [
'macos-13',
'macos-14',
'ubuntu-latest',
// 'windows-latest',
'windows-latest',
];
// whether enable thread safe
@@ -39,8 +40,8 @@ $prefer_pre_built = true;
// If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`).
$extensions = match (PHP_OS_FAMILY) {
'Linux', 'Darwin' => 'dio',
'Windows' => 'dio',
'Linux', 'Darwin' => 'opentelemetry',
'Windows' => 'opentelemetry',
};
// If you want to test lib-suggests feature with extension, add them below (comma separated, example `libwebp,libavif`).