Skip to content

Commit 9829178

Browse files
committed
ci: Use Codspeed sharding to improve CI times
fix #347
1 parent 18d896a commit 9829178

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/codspeed.yml

+9-7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ jobs:
1515
benchmarks:
1616
name: Run benchmarks
1717
runs-on: ubuntu-latest
18+
strategy:
19+
matrix:
20+
benchmark:
21+
- bezout_coeffs
22+
- mem_io
23+
- prove_fib
24+
- verify_halt
25+
- degree_lowering
1826
steps:
1927
- name: Checkout repository
2028
uses: actions/checkout@v4
@@ -28,13 +36,7 @@ jobs:
2836
tool: cargo-codspeed
2937

3038
- name: Build benchmarks
31-
run: >
32-
cargo codspeed build
33-
bezout_coeffs
34-
mem_io
35-
prove_fib
36-
verify_halt
37-
degree_lowering
39+
run: cargo codspeed build ${{ matrix.benchmark }}
3840

3941
- name: Run benchmarks
4042
uses: CodSpeedHQ/action@v3

0 commit comments

Comments
 (0)