Skip to content

Commit dc3544b

Browse files
committed
Add grain-128aeadv2
1 parent 90d1964 commit dc3544b

File tree

19 files changed

+2489
-0
lines changed

19 files changed

+2489
-0
lines changed
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: grain-128aeadv2
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- ".github/workflows/grain-128aeadv2.yml"
7+
- "grain-128aeadv2/**"
8+
- "Cargo.*"
9+
push:
10+
branches: master
11+
12+
defaults:
13+
run:
14+
working-directory: grain-128aeadv2
15+
16+
env:
17+
CARGO_INCREMENTAL: 0
18+
RUSTFLAGS: "-Dwarnings"
19+
20+
# Cancels CI jobs when new commits are pushed to a PR branch
21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
23+
cancel-in-progress: true
24+
25+
jobs:
26+
build:
27+
runs-on: ubuntu-latest
28+
strategy:
29+
matrix:
30+
rust:
31+
- 1.85.0
32+
- stable
33+
target:
34+
- armv7a-none-eabi
35+
- thumbv7em-none-eabi
36+
- wasm32-unknown-unknown
37+
steps:
38+
- uses: actions/checkout@v6
39+
- uses: dtolnay/rust-toolchain@master
40+
with:
41+
toolchain: ${{ matrix.rust }}
42+
targets: ${{ matrix.target }}
43+
- run: cargo build --no-default-features --release --target ${{ matrix.target }}
44+
45+
test:
46+
runs-on: ubuntu-latest
47+
strategy:
48+
matrix:
49+
rust:
50+
- 1.85.0 # MSRV
51+
- stable
52+
steps:
53+
- uses: actions/checkout@v6
54+
- uses: dtolnay/rust-toolchain@master
55+
with:
56+
toolchain: ${{ matrix.rust }}
57+
- run: cargo test --release --no-default-features --lib
58+
- run: cargo test --release
59+
- run: cargo test --release --all-features
60+
- run: cargo test --release --no-default-features -F 'arrayvec'

0 commit comments

Comments
 (0)