File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change @@ -194,6 +194,43 @@ jobs:
194194 mode : walltime
195195 token : ${{ secrets.CODSPEED_TOKEN }}
196196
197+
198+ compat-integration-test-memory :
199+ runs-on : ubuntu-latest
200+ strategy :
201+ matrix :
202+ package :
203+ - codspeed-divan-compat
204+ - codspeed-divan-compat-examples
205+ - codspeed-criterion-compat
206+ steps :
207+ - uses : actions/checkout@v4
208+ with :
209+ submodules : true
210+ - uses : moonrepo/setup-rust@v1
211+ with :
212+ cache-target : release
213+ env :
214+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
215+
216+ - run : cargo install --path crates/cargo-codspeed --locked
217+
218+ - run : |
219+ # Remove the cargo config else it forces instrumentation mode
220+ rm -f .cargo/config.toml
221+ cargo codspeed build -p ${{ matrix.package }} -m instrumentation
222+
223+ # TODO: Enable once we can upload it
224+ # - name: Run the benchmarks
225+ # uses: CodSpeedHQ/action@chore/runner-branch
226+ # env:
227+ # MY_ENV_VAR: "YES"
228+ # with:
229+ # runner-branch: cod-1670-runner-profile-memory-of-command
230+ # run: cargo codspeed run
231+ # mode: memory
232+ # token: ${{ secrets.CODSPEED_TOKEN }}
233+
197234 musl-build-check :
198235 strategy :
199236 matrix :
You can’t perform that action at this time.
0 commit comments