put the cargo dep in the right place (#1456) #1557
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: Benchmarks | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
- staging | |
tags: | |
- "*" | |
pull_request: | |
paths: | |
- "python/**" | |
- "haskell/**" | |
- "rust/**" | |
- "kaitai/python/**" | |
- "kaitai/perl/**" | |
- scripts/ci_benchmark.bash | |
- scripts/ci_benchmark_install.bash | |
- test_data/benchmark_main.py | |
- .github/workflows/benchmark.yaml | |
jobs: | |
benchmark: | |
name: Benchmark | |
runs-on: [xlarge] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup | |
run: ./scripts/ci_prepare_python.bash | |
- name: Run benchmarks | |
run: | | |
source ./scripts/ci_benchmark_install.bash | |
./scripts/ci_benchmark.bash | |
env: | |
VIA_DOCKER: y |