Skip to content

Commit

Permalink
Add ANSI-X9.63-KDF support: add CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
nemynm committed Oct 10, 2024
1 parent ab920bf commit 6facd96
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/ansi-x963-kdf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: ansi-x963-kdf

on:
pull_request:
paths:
- "ansi-x963-kdf/**"
- "Cargo.*"
push:
branches: master

defaults:
run:
working-directory: ansi-x963-kdf

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.81.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
targets: ${{ matrix.target }}
- run: cargo build --no-default-features --target ${{ matrix.target }}

test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.81.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: cargo check --all-features
- run: cargo test --no-default-features
- run: cargo test
- run: cargo test --all-features

0 comments on commit 6facd96

Please sign in to comment.