Newer
Older
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
name: Benchmarks gitlab
on:
schedule:
- cron: "0 18 * * *"
jobs:
bench:
name: Benchmarks gitlab
runs-on: ubuntu-latest
steps:
- name: Checkout Sources
uses: actions/[email protected]
- name: Install Rust nightly toolchain
uses: actions-rs/[email protected]
with:
profile: minimal
toolchain: nightly
override: true
- name: Set bench file
id: step_one
run: |
echo "bench_file=bench/$(date "+%d-%m-%Y")/output.txt" >> $GITHUB_ENV
- name: Store benchmark result
uses: rhysd/github-action-benchmark@v1
with:
tool: 'cargo'
output-file-path: "${{ env.bench_file }}"
benchmark-data-dir-path: "bench/dev2"
fail-on-alert: true
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-on-alert: true
alert-comment-cc-users: '@niklasad1'
auto-push: true