-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathphp-8.1-tideways.yaml
46 lines (40 loc) · 1.39 KB
/
php-8.1-tideways.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
package:
name: php-8.1-tideways
version: 5.21.2
epoch: 0
description: "Tideways PHP Probe"
copyright:
- license: PROPRIETARY
dependencies:
runtime:
- ${{package.name}}-config
- php-8.1
environment:
contents:
packages:
- busybox
pipeline:
- uses: fetch
if: ${{build.arch}} == 'x86_64'
with:
uri: https://tideways.s3.amazonaws.com/extension/${{package.version}}/tideways-php-${{package.version}}-x86_64.tar.gz
expected-sha512: 9c4fa14d493cc249bc712232c2a515d9285b6595b7b9fc2a2db9a7a9bec4b8e3794fb3422eb9f91be2bab89566dd5751e7ccaef8e1acdc1411746050cad26ab6
- uses: fetch
if: ${{build.arch}} == 'aarch64'
with:
uri: https://tideways.s3.amazonaws.com/extension/${{package.version}}/tideways-php-${{package.version}}-arm64.tar.gz
expected-sha512: 29fc68beebb400e998037bfcd835e3c6efbc7e7b0af53a8470d403fc12f0ab7b1daf175f110b240d07ae5ee06c15039e21889f9d0b6f630c4f300f3b6742a8b5
- name: Copy
runs: |
mkdir -p ${{targets.destdir}}/usr/lib/php/modules/
cp tideways-php-8.1.so ${{targets.destdir}}/usr/lib/php/modules/tideways.so
subpackages:
- name: ${{package.name}}-config
pipeline:
- runs: |
mkdir -p "${{targets.subpkgdir}}/etc/php/conf.d"
echo "extension=tideways.so" > "${{targets.subpkgdir}}/etc/php/conf.d/tideways.ini"
update:
enabled: true
release-monitor:
identifier: 371870