Skip to content

Commit

Permalink
Fix and test min versions build (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Feb 17, 2022
1 parent 9d2a53c commit e1a8e86
Show file tree
Hide file tree
Showing 36 changed files with 341 additions and 102 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/blake2.yml
Expand Up @@ -37,6 +37,20 @@ jobs:
override: true
- run: cargo build --no-default-features --target ${{ matrix.target }}

minimal-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- run: rm ../Cargo.toml
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features

test:
runs-on: ubuntu-latest
strategy:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/fsb.yml
Expand Up @@ -37,6 +37,20 @@ jobs:
override: true
- run: cargo build --no-default-features --target ${{ matrix.target }}

minimal-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- run: rm ../Cargo.toml
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features

test:
runs-on: ubuntu-latest
strategy:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/gost94.yml
Expand Up @@ -37,6 +37,20 @@ jobs:
override: true
- run: cargo build --no-default-features --target ${{ matrix.target }}

minimal-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- run: rm ../Cargo.toml
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features

test:
runs-on: ubuntu-latest
strategy:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/groestl.yml
Expand Up @@ -37,6 +37,20 @@ jobs:
override: true
- run: cargo build --no-default-features --target ${{ matrix.target }}

minimal-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- run: rm ../Cargo.toml
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features

test:
runs-on: ubuntu-latest
strategy:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/k12.yml
Expand Up @@ -37,6 +37,20 @@ jobs:
override: true
- run: cargo build --no-default-features --target ${{ matrix.target }}

minimal-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- run: rm ../Cargo.toml
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features

test:
runs-on: ubuntu-latest
strategy:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/md2.yml
Expand Up @@ -37,6 +37,20 @@ jobs:
override: true
- run: cargo build --no-default-features --target ${{ matrix.target }}

minimal-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- run: rm ../Cargo.toml
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features

test:
runs-on: ubuntu-latest
strategy:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/md4.yml
Expand Up @@ -37,6 +37,20 @@ jobs:
override: true
- run: cargo build --no-default-features --target ${{ matrix.target }}

minimal-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- run: rm ../Cargo.toml
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features

test:
runs-on: ubuntu-latest
strategy:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/md5.yml
Expand Up @@ -40,6 +40,20 @@ jobs:
override: true
- run: cargo build --no-default-features --target ${{ matrix.target }}

minimal-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- run: rm ../Cargo.toml
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features

test:
runs-on: ubuntu-latest
strategy:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/ripemd.yml
Expand Up @@ -37,6 +37,20 @@ jobs:
override: true
- run: cargo build --no-default-features --target ${{ matrix.target }}

minimal-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- run: rm ../Cargo.toml
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features

test:
runs-on: ubuntu-latest
strategy:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/sha1.yml
Expand Up @@ -45,6 +45,20 @@ jobs:
override: true
- run: cargo build --no-default-features --target ${{ matrix.target }}

minimal-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- run: rm ../Cargo.toml
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features

# Linux tests
linux:
needs: set-msrv
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/sha2.yml
Expand Up @@ -45,6 +45,20 @@ jobs:
override: true
- run: cargo build --no-default-features --target ${{ matrix.target }}

minimal-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- run: rm ../Cargo.toml
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features

# Linux tests
linux:
needs: set-msrv
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/sha3.yml
Expand Up @@ -44,6 +44,20 @@ jobs:
override: true
- run: cargo build --no-default-features --target ${{ matrix.target }}

minimal-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- run: rm ../Cargo.toml
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features

test:
needs: set-msrv
runs-on: ubuntu-latest
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/shabal.yml
Expand Up @@ -37,6 +37,20 @@ jobs:
override: true
- run: cargo build --no-default-features --target ${{ matrix.target }}

minimal-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- run: rm ../Cargo.toml
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features

test:
runs-on: ubuntu-latest
strategy:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/sm3.yml
Expand Up @@ -37,6 +37,20 @@ jobs:
override: true
- run: cargo build --no-default-features --target ${{ matrix.target }}

minimal-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- run: rm ../Cargo.toml
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features

test:
runs-on: ubuntu-latest
strategy:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/streebog.yml
Expand Up @@ -37,6 +37,20 @@ jobs:
override: true
- run: cargo build --no-default-features --target ${{ matrix.target }}

minimal-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- run: rm ../Cargo.toml
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features

test:
runs-on: ubuntu-latest
strategy:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/tiger.yml
Expand Up @@ -40,6 +40,20 @@ jobs:
override: true
- run: cargo build --no-default-features --target ${{ matrix.target }}

minimal-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- run: rm ../Cargo.toml
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features

test:
runs-on: ubuntu-latest
strategy:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/whirlpool.yml
Expand Up @@ -37,6 +37,20 @@ jobs:
override: true
- run: cargo build --no-default-features --target ${{ matrix.target }}

minimal-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- run: rm ../Cargo.toml
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features

test:
runs-on: ubuntu-latest
strategy:
Expand Down

0 comments on commit e1a8e86

Please sign in to comment.