Skip to content

Try to fix "Failed to spawn command: No such file or directory" #4

Try to fix "Failed to spawn command: No such file or directory"

Try to fix "Failed to spawn command: No such file or directory" #4

Workflow file for this run

name: Benchmark
on:
push:
branches: master
jobs:
benchmark_with_bencher:
name: Benchmark with Bencher
runs-on: ubuntu-22.04
env:
BENCHER_PROJECT: mpeg2ts-reader
BENCHER_API_TOKEN: ${{ secrets.BENCHER_API_TOKEN }}
steps:
- uses: actions/checkout@v4
- name: Install toolchain
uses: dtolnay/[email protected]
- uses: bencherdev/bencher@main
- name: Download test mpegts asset
run: wget --quiet -c "http://www.badgers-in-foil.co.uk/4d0660bd-5755-4917-9592-2e3d85736592.ts"
- run: |
cargo bench --bench ci_bench > perf.txt
- run: which bencher
- run: |
bencher run "cargo bench ci_bench" \
--branch "$GITHUB_REF_NAME" \
--err \
--adapter rust_iai \
--file "perf.txt"