Skip to content

Commit

Permalink
Add CCM (RustCrypto#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov authored Jul 1, 2020
1 parent 1e007fd commit 547a4c1
Show file tree
Hide file tree
Showing 56 changed files with 1,102 additions and 50 deletions.
54 changes: 54 additions & 0 deletions .github/workflows/ccm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: ccm

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

defaults:
run:
working-directory: ccm

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"

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
- 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 }}
override: true
- run: cargo test --lib --release
- run: cargo test --all-features --release
Loading

0 comments on commit 547a4c1

Please sign in to comment.