Skip to content

Commit

Permalink
add md5-crypt tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ibotty committed Oct 19, 2022
1 parent 02fa52a commit c804609
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions .github/workflows/md5-crypt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: md5-crypt

on:
pull_request:
paths:
- "md5-crypt/**"
- "Cargo.*"
push:
branches: master

defaults:
run:
working-directory: md5-crypt

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.56.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v3
- uses: RustCrypto/actions/cargo-cache@master
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo build --target ${{ matrix.target }} --no-default-features

minimal-versions:
uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master
with:
working-directory: ${{ github.workflow }}

test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.56.0 # MSRV
- stable
steps:
- uses: actions/checkout@v3
- uses: RustCrypto/actions/cargo-cache@master
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --no-default-features
- run: cargo test
- run: cargo test --all-features

0 comments on commit c804609

Please sign in to comment.