Skip to content

Commit c804609

Browse files
committed
add md5-crypt tests
1 parent 02fa52a commit c804609

File tree

1 file changed

+63
-0
lines changed

1 file changed

+63
-0
lines changed

.github/workflows/md5-crypt.yml

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: md5-crypt
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- "md5-crypt/**"
7+
- "Cargo.*"
8+
push:
9+
branches: master
10+
11+
defaults:
12+
run:
13+
working-directory: md5-crypt
14+
15+
env:
16+
CARGO_INCREMENTAL: 0
17+
RUSTFLAGS: "-Dwarnings"
18+
19+
jobs:
20+
build:
21+
runs-on: ubuntu-latest
22+
strategy:
23+
matrix:
24+
rust:
25+
- 1.56.0 # MSRV
26+
- stable
27+
target:
28+
- thumbv7em-none-eabi
29+
- wasm32-unknown-unknown
30+
steps:
31+
- uses: actions/checkout@v3
32+
- uses: RustCrypto/actions/cargo-cache@master
33+
- uses: actions-rs/toolchain@v1
34+
with:
35+
profile: minimal
36+
toolchain: ${{ matrix.rust }}
37+
target: ${{ matrix.target }}
38+
override: true
39+
- run: cargo build --target ${{ matrix.target }} --no-default-features
40+
41+
minimal-versions:
42+
uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master
43+
with:
44+
working-directory: ${{ github.workflow }}
45+
46+
test:
47+
runs-on: ubuntu-latest
48+
strategy:
49+
matrix:
50+
rust:
51+
- 1.56.0 # MSRV
52+
- stable
53+
steps:
54+
- uses: actions/checkout@v3
55+
- uses: RustCrypto/actions/cargo-cache@master
56+
- uses: actions-rs/toolchain@v1
57+
with:
58+
profile: minimal
59+
toolchain: ${{ matrix.rust }}
60+
override: true
61+
- run: cargo test --no-default-features
62+
- run: cargo test
63+
- run: cargo test --all-features

0 commit comments

Comments
 (0)