Actually respect the benchmarks matrix on CI

This commit is contained in:
Damir Jelić
2025-07-24 14:08:05 +02:00
parent d75d7973b2
commit ffe239d620
2 changed files with 5 additions and 1 deletions

View File

@@ -28,7 +28,7 @@ jobs:
bins: cargo-codspeed
- name: Build the benchmark target(s)
run: cargo codspeed build ${{ matrix.benchmarks }}
run: cargo codspeed build -p benchmarks ${{ matrix.benchmark }}
- name: Run the benchmarks
uses: CodSpeedHQ/action@0b6e7a3d96c9d2a6057e7bcea6b45aaf2f7ce60b

View File

@@ -180,6 +180,10 @@ lto = false
# Get symbol names for profiling purposes.
debug = true
[profile.bench]
inherits = "dbg"
lto = false
[patch.crates-io]
async-compat = { git = "https://github.com/element-hq/async-compat", rev = "5a27c8b290f1f1dcfc0c4ec22c464e38528aa591" }
const_panic = { git = "https://github.com/jplatte/const_panic", rev = "9024a4cb3eac45c1d2d980f17aaee287b17be498" }