-
Notifications
You must be signed in to change notification settings - Fork 315
/
Copy pathasync-profiler.yaml
48 lines (42 loc) · 1.02 KB
/
async-profiler.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
package:
name: async-profiler
version: 3.0
epoch: 1
description: A low overhead sampling profiler for Java
copyright:
- license: Apache-2.0
environment:
contents:
packages:
- bash
- build-base
- openjdk-11-default-jdk
- wolfi-base
environment:
JAVA_HOME: /usr/lib/jvm/java-11-openjdk
pipeline:
- uses: git-checkout
with:
repository: https://github.com/async-profiler/async-profiler
tag: v${{package.version}}
expected-commit: 4e441b4024a5873a5764a1e8b9f0bb25ad997fbf
- runs: |
make all
- runs: |
mkdir -p ${{targets.destdir}}/usr/bin ${{targets.destdir}}/usr/lib
mv build/bin/* ${{targets.destdir}}/usr/bin
mv build/lib/* ${{targets.destdir}}/usr/lib
test:
pipeline:
- runs: |
/usr/bin/asprof --help
asprof --version
asprof --help
- uses: test/ldd-check
with:
packages: ${{package.name}}
update:
enabled: true
github:
identifier: async-profiler/async-profiler
strip-prefix: v