DO-2043 / use ephemeral github runner based on EC2 instance #3613
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: gh-runner-scrypto-ubuntu-jammy-16-cores | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup cmake | |
uses: jwlawson/[email protected] | |
with: | |
cmake-version: '3.27.9' | |
- 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 }} |