Skip to content

Commit

Permalink
ci: Add benchmark job to Rusk CI
Browse files Browse the repository at this point in the history
  • Loading branch information
HDauven committed Aug 15, 2024
1 parent f5666f2 commit 70ae1aa
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/rusk_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,18 @@ jobs:
- uses: actions/checkout@v4
- uses: dsherret/rust-toolchain-file@v1
- run: cargo fmt --all -- --check
benchmark:
needs: changes
if: needs.changes.outputs.run-ci == 'true'
name: Run Benchmarks
runs-on: core
steps:
- uses: actions/checkout@v4
- uses: dsherret/rust-toolchain-file@v1
- run: make bench
- name: Upload Benchmark Results
uses: actions/upload-artifact@v4
with:
name: rusk-benchmark-results
path: ./rusk/target/criterion
retention-days: 3

0 comments on commit 70ae1aa

Please sign in to comment.