feat(levm): ethereum foundation tests setup #571
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: LEVM benchmarks | |
on: | |
merge_group: | |
paths: | |
- 'crates/vm/levm/**' | |
pull_request: | |
paths: | |
- 'crates/vm/levm/**' | |
branches: [ '*' ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
CARGO_TERM_COLOR: always | |
RUST_VERSION: 1.79.0 | |
jobs: | |
bench-hyperfine: | |
name: Hyperfine | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Rustup toolchain install | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: ${{ env.RUST_VERSION }} | |
- name: Set up cargo cache | |
uses: Swatinem/rust-cache@v2 | |
- name: Install hyperfine | |
uses: taiki-e/install-action@v2 | |
with: | |
tool: [email protected] | |
- name: Run benchmarks | |
run: | | |
cd crates/vm/levm | |
make revm-comparison |