[DO-2012] Test benchmark workflow for PR from external repo #3857
Workflow file for this run
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 PR | |
on: | |
pull_request: | |
# Run on PR against any branch | |
concurrency: | |
group: benchmark-comparison-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
benchmark: | |
name: Run bench | |
runs-on: ubuntu-latest-16-cores | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Add wasm target | |
run: rustup target add wasm32-unknown-unknown | |
- uses: radixdlt/criterion-compare-action@update-same-commit | |
with: | |
branchName: ${{ github.base_ref }} |