-
Notifications
You must be signed in to change notification settings - Fork 32
37 lines (31 loc) · 949 Bytes
/
bench.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
name: Benchmarks
on:
push:
branches: [ "develop" ]
workflow_dispatch: { }
permissions:
actions: read
contents: write
deployments: write
jobs:
bench:
runs-on: ubuntu-latest-large
if: ${{ github.event_name == 'workflow_dispatch' || (contains(github.event.head_commit.message, '[benchmark]') && github.ref_name == 'develop') }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: ./.github/actions/setup-zig
- uses: ./.github/actions/setup-rust
- name: Bench - Vortex
run: cargo bench | tee bench.txt
- name: Store benchmark result
uses: benchmark-action/[email protected]
with:
name: Vortex Benchmarks
tool: cargo
github-token: ${{ secrets.GITHUB_TOKEN }}
output-file-path: bench.txt
summary-always: true
auto-push: true
fail-on-alert: false