Skip to content

Commit 6d9e761

Browse files
committed
ci: add RUSTFLAGS: "-C debuginfo=1 -C strip=none" to benchmark build
1 parent cb2a016 commit 6d9e761

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/benchmark.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,21 @@ jobs:
2121
name: Benchmark
2222
runs-on: ubuntu-latest
2323
steps:
24-
- name: Checkout Branch
25-
uses: taiki-e/checkout-action@v1
24+
- uses: taiki-e/checkout-action@v1
2625

2726
- uses: Boshen/setup-rust@main
2827
with:
2928
cache-key: benchmark
3029
save-cache: ${{ github.ref_name == 'main' }}
3130
tools: cargo-codspeed
31+
3232
- uses: ./.github/actions/pnpm
33-
- name: Build Benchmark
34-
run: cargo codspeed build --features codspeed
3533

36-
- name: Run benchmark
37-
uses: CodSpeedHQ/action@v3
34+
- run: cargo codspeed build --features codspeed
35+
env:
36+
RUSTFLAGS: "-C debuginfo=1 -C strip=none"
37+
38+
- uses: CodSpeedHQ/action@v3
3839
timeout-minutes: 30
3940
with:
4041
run: cargo codspeed run

0 commit comments

Comments
 (0)