-
Notifications
You must be signed in to change notification settings - Fork 2
/
php-8.3-pcov.yaml
52 lines (44 loc) · 1.09 KB
/
php-8.3-pcov.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
package:
name: php-8.3-pcov
version: 1.0.12
epoch: 0
description: "CodeCoverage compatible driver for PHP"
copyright:
- license: PHP-3.01
dependencies:
runtime:
- ${{package.name}}-config
- php-8.3
environment:
contents:
packages:
- autoconf
- build-base
- busybox
- php-8.3
- php-8.3-dev
pipeline:
- uses: git-checkout
with:
repository: https://github.com/krakjoe/pcov.git
tag: v${{package.version}}
expected-commit: e16c08e14da0a74fd19e2e14960382bc8f28292d
- name: Prepare build
runs: phpize
- name: Configure
runs: ./configure --enable-pcov
- uses: autoconf/make
- 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=pcov.so" > "${{targets.subpkgdir}}/etc/php/conf.d/pcov.ini"
update:
enabled: true
github:
identifier: krakjoe/pcov
use-tag: true
strip-prefix: v