Skip to content

Commit a7bd1c0

Browse files
fix: dont run bencher in walltime
1 parent 564bccd commit a7bd1c0

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,11 @@ jobs:
141141
- codspeed-divan-compat-examples
142142
- codspeed-criterion-compat
143143
mode:
144-
- walltime
144+
- memory
145145
- instrumentation
146+
include:
147+
- package: codspeed-criterion-compat
148+
features: async_futures
146149
runs-on: ubuntu-latest
147150
env:
148151
CODSPEED_RUNNER_MODE: ${{ matrix.mode }}
@@ -158,16 +161,12 @@ jobs:
158161

159162
- run: cargo install --path crates/cargo-codspeed --locked
160163

161-
- name: Remove .cargo/config.toml to not force instrumentation mode
162-
run: rm -f .cargo/config.toml
163-
164164
- run: |
165-
if [ "${{ matrix.package }}" = "codspeed-criterion-compat" ]; then
166-
cargo codspeed build -p ${{ matrix.package }} --features async_futures
167-
else
168-
cargo codspeed build -p ${{ matrix.package }}
169-
fi
165+
# Remove the cargo config else it forces instrumentation mode
166+
rm -f .cargo/config.toml
167+
cargo codspeed build -p ${{ matrix.package }} ${{ matrix.features && format('--features {0}', matrix.features) || '' }}
170168
169+
# TODO: Dont merge this
171170
- name: Install memtrack (temp until runner is released)
172171
run: curl --proto '=https' --tlsv1.2 -LsSf https://github.com/CodSpeedHQ/runner/releases/download/memtrack-v1.0.1-alpha.3/memtrack-installer.sh | sh
173172

@@ -251,7 +250,8 @@ jobs:
251250
- tests-without-cargo-codspeed
252251
- test-cargo-codspeed
253252
- msrv-check
254-
- compat-integration-test
253+
- analysis-integration-test
254+
- walltime-integration-test
255255
- musl-build-check
256256
steps:
257257
- uses: re-actors/alls-green@release/v1

0 commit comments

Comments
 (0)