forked from RustCrypto/password-hashes
-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (51 loc) · 1.18 KB
/
block-cipher.yml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: block-cipher
on:
pull_request:
paths:
- "block-cipher/**"
- "Cargo.*"
push:
branches: master
paths:
- "block-cipher/**"
- "Cargo.*"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.41.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- working-directory: block-cipher
run: cargo build --no-default-features --release --target ${{ matrix.target }}
test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.41.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
- run: |
cargo check --all-features
cargo test --features dev
cargo test --features std
cargo test --all-features
working-directory: block-cipher