Skip to content

Commit

Permalink
update crates to digest v0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Nov 19, 2021
1 parent d6c8c3c commit 29038d3
Show file tree
Hide file tree
Showing 206 changed files with 6,637 additions and 9,159 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/fsb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
rust:
- 1.47.0 # MSRV
- 1.41.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
Expand All @@ -42,7 +42,7 @@ jobs:
strategy:
matrix:
rust:
- 1.47.0 # MSRV
- 1.41.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
Expand All @@ -54,5 +54,4 @@ jobs:
- run: cargo check --all-features
- run: cargo test --no-default-features
- run: cargo test
- run: cargo test --features asm
- run: cargo test --all-features
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: ripemd160
name: ripemd

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

defaults:
run:
working-directory: ripemd160
working-directory: ripemd

env:
CARGO_INCREMENTAL: 0
Expand Down
58 changes: 0 additions & 58 deletions .github/workflows/ripemd256.yml

This file was deleted.

57 changes: 0 additions & 57 deletions .github/workflows/ripemd320.yml

This file was deleted.

15 changes: 12 additions & 3 deletions .github/workflows/sha2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ jobs:
rust: stable

runs-on: ubuntu-latest
defaults:
run:
# Cross mounts only current package, i.e. by default it ignores workspace's Cargo.toml
working-directory: .
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
Expand All @@ -137,6 +141,11 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo install cross
- run: cross test --target ${{ matrix.target }} --release
- run: cross test --target ${{ matrix.target }} --release --features asm
- name: Install precompiled cross
run: |
export URL=$(curl -s https://api.github.com/repos/rust-embedded/cross/releases/latest | jq -r '.assets[] | select(.name | contains("x86_64-unknown-linux-gnu.tar.gz")) | .browser_download_url')
wget -O /tmp/binaries.tar.gz $URL
tar -C /tmp -xzf /tmp/binaries.tar.gz
mv /tmp/cross ~/.cargo/bin
- run: cross test --package sha2 --target ${{ matrix.target }} --release
- run: cross test --package sha2 --target ${{ matrix.target }} --release --features asm
Loading

0 comments on commit 29038d3

Please sign in to comment.