-
Notifications
You must be signed in to change notification settings - Fork 183
39 lines (34 loc) · 832 Bytes
/
benches.yml
File metadata and controls
39 lines (34 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: benches
on:
pull_request:
paths:
- ".github/workflows/benches.yml"
- "benches/**"
- "Cargo.*"
push:
branches: master
defaults:
run:
working-directory: benches
env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"
# Cancels CI jobs when new commits are pushed to a PR branch
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
if: false # benches are broken until https://github.com/RustCrypto/AEADs/pull/665 merges
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.85.0 # MSRV
- stable
steps:
- uses: actions/checkout@v5
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: cargo bench --no-run