-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathphp-frankenphp-8.3-ddtrace.yaml
55 lines (47 loc) · 1.23 KB
/
php-frankenphp-8.3-ddtrace.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package:
name: php-frankenphp-8.3-ddtrace
version: 1.6.3
epoch: 0
description: "Datadog PHP Clients"
copyright:
- license: Apache-2.0 OR BSD-3-Clause
dependencies:
runtime:
- ${{package.name}}-config
- php-frankenphp-8.3
environment:
contents:
packages:
- autoconf
- build-base
- busybox
- curl-dev
- php-frankenphp-8.3
- php-frankenphp-8.3-dev
- posix-libc-utils
- rust
pipeline:
- uses: git-checkout
with:
repository: https://github.com/DataDog/dd-trace-php
tag: "${{package.version}}"
expected-commit: a2098a7735ffa8c16965d1234693a864bf852620
- name: Clone submodules
runs: git submodule update --init --recursive
- name: Prepare build
runs: phpize
- name: Configure
runs: ./configure
- name: Make install
runs: INSTALL_ROOT="${{targets.destdir}}" DESTDIR="${{targets.destdir}}" make install
subpackages:
- name: ${{package.name}}-config
pipeline:
- runs: |
mkdir -p "${{targets.subpkgdir}}/etc/php/conf.d"
echo "extension=ddtrace.so" > "${{targets.subpkgdir}}/etc/php/conf.d/ddtrace.ini"
update:
enabled: true
github:
identifier: DataDog/dd-trace-php
use-tag: true