-
Notifications
You must be signed in to change notification settings - Fork 152
43 lines (36 loc) · 1.13 KB
/
bvt-report.yml
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
on:
workflow_call:
inputs:
branch:
type: string
required: false
jobs:
bvt-report:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.branch }}
- 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: [Microsoft "Proxy" library](https://github.com/microsoft/proxy)
- Commit ID: [${{ github.sha }}](https://github.com/microsoft/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