Merge pull request #2954 from dusk-network/neotamandua/reorder_exec_c… #372
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Benchmark CI | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
# Job to run change detection | |
changes: | |
runs-on: core | |
permissions: | |
pull-requests: read | |
outputs: | |
run-ci: ${{ steps.filter.outputs.run-ci }} | |
steps: | |
- uses: dorny/paths-filter@v3 | |
id: filter | |
with: | |
filters: | | |
run-ci: | |
- 'rusk/**' | |
- 'node/**' | |
- '.github/workflows/benchmarks.yml' | |
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: ./target/criterion | |
retention-days: 14 |