Commit 4344bab 1 parent e87fedc commit 4344bab Copy full SHA for 4344bab
File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -225,18 +225,22 @@ jobs:
225
225
226
226
bench-codspeed :
227
227
name : Benchmark with Codspeed
228
- runs-on : ubuntu-latest-large
228
+ runs-on :
229
+ - runs-on=${{ github.run_id }}
230
+ - family=c7i.8xlarge
231
+ - image=ubuntu24-full-x64
229
232
steps :
233
+ - uses : runs-on/action@v1
230
234
- uses : actions/checkout@v4
231
- - uses : ./.github/actions/setup-rust
235
+ # rustup is pre-installed on the ubuntu24-full-x64 image.
232
236
233
237
- name : Install Codspeed
234
238
shell : bash
235
239
run : cargo install --force cargo-codspeed --locked
236
240
237
241
- name : Build benchmarks
238
242
env :
239
- RUSTFLAGS : " -C target-cpu=native "
243
+ RUSTFLAGS : " -C target-feature=+avx2 "
240
244
run : |
241
245
cargo codspeed build --features test-harness \
242
246
--exclude bench-vortex \
@@ -252,6 +256,7 @@ jobs:
252
256
uses : CodSpeedHQ/action@v3
253
257
with :
254
258
run : cargo codspeed run
259
+ runner-version : 3.4.1-beta.1
255
260
token : ${{ secrets.CODSPEED_TOKEN }}
256
261
257
262
license-check-and-audit-check :
You can’t perform that action at this time.
0 commit comments