mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-21 03:49:59 +00:00
Compare commits
1 Commits
ca7cea2c8b
...
9c31d44f8a
Author | SHA1 | Date | |
---|---|---|---|
![]() |
9c31d44f8a |
29
.github/workflows/run-benchmarks.yml
vendored
29
.github/workflows/run-benchmarks.yml
vendored
@ -1,29 +0,0 @@
|
|||||||
name: Run benchmarks
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
run-benchmarks:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Install Rust
|
|
||||||
uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
|
|
||||||
- name: Run benchmarks
|
|
||||||
run: cargo bench
|
|
||||||
|
|
||||||
- name: Upload benchmark reports
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: benchmark-reports-${{ github.sha }}
|
|
||||||
path: ./target/criterion/
|
|
Loading…
x
Reference in New Issue
Block a user