-
Notifications
You must be signed in to change notification settings - Fork 7
37 lines (30 loc) · 1021 Bytes
/
bvt-report.yml
File metadata and controls
37 lines (30 loc) · 1021 Bytes
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
on:
workflow_call:
jobs:
bvt-report:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: download all workflow run artifacts
uses: actions/download-artifact@v4
with:
path: artifacts
- name: build report generator
run: |
cd tools/report_generator
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j
- name: generate report
run: |
cat <<EOF > benchmarking-report.md
# Benchmarking Report
- Generated for: [C++ Proxy library](https://github.com/ngcpp/proxy)
- Commit ID: [${{ github.sha }}](https://github.com/ngcpp/proxy/commit/${{ github.sha }})
- Generated at: $(date -u +"%Y-%m-%dT%H:%M:%SZ")
EOF
tools/report_generator/build/report_generator tools/report_generator/report-config.json
- name: archive benchmarking report
uses: actions/upload-artifact@v4
with:
name: benchmarking-report
path: benchmarking-report.md