Skip to content

Commit

Permalink
Fix and test minimal versions build (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Feb 17, 2022
1 parent 736671f commit 7de364e
Show file tree
Hide file tree
Showing 51 changed files with 319 additions and 78 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/aes.yml
Expand Up @@ -56,6 +56,20 @@ jobs:
cargo build --target ${{ matrix.target }}
cargo build --target ${{ matrix.target }} --features hazmat
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

# Tests for the AES-NI backend
aesni:
runs-on: ubuntu-latest
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/blowfish.yml
Expand Up @@ -37,6 +37,20 @@ jobs:
override: true
- run: cargo build --no-default-features --release --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/cast5.yml
Expand Up @@ -37,6 +37,20 @@ jobs:
override: true
- run: cargo build --no-default-features --release --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/des.yml
Expand Up @@ -37,6 +37,20 @@ jobs:
override: true
- run: cargo build --no-default-features --release --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/idea.yml
Expand Up @@ -37,6 +37,20 @@ jobs:
override: true
- run: cargo build --no-default-features --release --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/kuznyechik.yml
Expand Up @@ -40,6 +40,20 @@ jobs:
RUSTFLAGS: "-Dwarnings --cfg kuznyechik_force_soft"
run: cargo build --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/magma.yml
Expand Up @@ -37,6 +37,20 @@ jobs:
override: true
- run: cargo build --no-default-features --release --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/rc2.yml
Expand Up @@ -37,6 +37,20 @@ jobs:
override: true
- run: cargo build --no-default-features --release --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/serpent.yml
Expand Up @@ -37,6 +37,20 @@ jobs:
override: true
- run: cargo build --no-default-features --release --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/sm4.yml
Expand Up @@ -37,6 +37,20 @@ jobs:
override: true
- run: cargo build --no-default-features --release --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/threefish.yml
Expand Up @@ -37,6 +37,20 @@ jobs:
override: true
- run: cargo build --no-default-features --release --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/twofish.yml
Expand Up @@ -37,6 +37,20 @@ jobs:
override: true
- run: cargo build --no-default-features --release --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 7de364e

Please sign in to comment.