-
Notifications
You must be signed in to change notification settings - Fork 22
31 lines (31 loc) · 1.05 KB
/
benchmarks_merge.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
name: Benchmarks on Merge
on:
push:
branches:
- main
jobs:
benchmark:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
deployments: write
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: arn:aws:iam::881928689264:role/Github-Actions-Role
aws-region: us-east-1
- name: Run benchmark
working-directory: mls-rs
run: ( set -o pipefail; cargo bench --features benchmark_util --bench group_commit --bench group_receive_commit --bench group_application --bench group_serialize -- --output-format bencher | tee -a output.txt )
- name: Store benchmark result
uses: benchmark-action/github-action-benchmark@v1
with:
tool: "cargo"
output-file-path: mls-rs/output.txt
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true
comment-on-alert: false