Skip to content

Commit 0926c07

Browse files
ci: fix walltime build within the repo
With the fix from previous commit, the `--cfg codspeed` would be caught by the cargo config of the repo.
1 parent d5206e7 commit 0926c07

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,10 @@ jobs:
107107

108108
- run: cargo install --path crates/cargo-codspeed --locked
109109

110-
- run: cargo codspeed build -p ${{ matrix.package }}
110+
- run: |
111+
# Remove the cargo config else it forces instrumentation mode
112+
rm -f .cargo/config.toml
113+
cargo codspeed build -p ${{ matrix.package }}
111114
112115
- name: Run the benchmarks
113116
uses: CodSpeedHQ/action@main

0 commit comments

Comments
 (0)