File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -207,6 +207,35 @@ jobs:
207207 run : cargo codspeed run
208208 mode : walltime
209209
210+ walltime-macos-test :
211+ runs-on : macos-latest
212+ steps :
213+ - uses : actions/checkout@v4
214+ with :
215+ submodules : true
216+ - uses : moonrepo/setup-rust@v1
217+ with :
218+ cache-target : release
219+ env :
220+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
221+
222+ - run : cargo install --path crates/cargo-codspeed --locked
223+
224+ - name : Build the benchmarks
225+ run : |
226+ # Remove the cargo config else it forces instrumentation mode
227+ rm -f .cargo/config.toml
228+ cargo codspeed build -p codspeed-divan-compat
229+
230+ - name : Run the benchmarks
231+ uses : CodSpeedHQ/action@main
232+ env :
233+ MY_ENV_VAR : " YES"
234+ CODSPEED_SKIP_UPLOAD : " true"
235+ with :
236+ run : cargo codspeed run -p codspeed-divan-compat
237+ mode : walltime
238+
210239 musl-build-check :
211240 strategy :
212241 matrix :
You can’t perform that action at this time.
0 commit comments