Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vorot93 committed Jun 8, 2023
1 parent 2222bcf commit 8e23639
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 39 deletions.
61 changes: 61 additions & 0 deletions .github/workflows/skein.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: skein

on:
pull_request:
paths:
- ".github/workflows/skein.yml"
- "skein/**"
- "Cargo.*"
push:
branches: master

defaults:
run:
working-directory: skein

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"

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

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.57.0 # MSRV
- stable
steps:
- uses: actions/checkout@v3
- uses: RustCrypto/actions/cargo-cache@master
- 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
38 changes: 0 additions & 38 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ members = [
"sha2",
"sha3",
"shabal",
"skein",
"sm3",
"streebog",
"tiger",
Expand All @@ -25,6 +24,7 @@ members = [
exclude = [
"ascon-hash",
"belt-hash",
"skein",
]

[profile.dev]
Expand Down

0 comments on commit 8e23639

Please sign in to comment.