Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix and test minimal versions build #303

Merged
merged 5 commits into from Feb 17, 2022
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/aes.yml
Expand Up @@ -56,6 +56,21 @@ 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: rm ../Cargo.lock
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like something it'd be good to extract as a shared workflow ala https://github.com/RustCrypto/actions/blob/master/.github/workflows/set-msrv.yml

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My first attempt in RustCrypto/actions#3 has failed, so I think it's worth to leave it for a later PR.


# Tests for the AES-NI backend
aesni:
runs-on: ubuntu-latest
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/blowfish.yml
Expand Up @@ -37,6 +37,21 @@ 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: rm ../Cargo.lock
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features

test:
runs-on: ubuntu-latest
strategy:
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/cast5.yml
Expand Up @@ -37,6 +37,21 @@ 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: rm ../Cargo.lock
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features

test:
runs-on: ubuntu-latest
strategy:
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/des.yml
Expand Up @@ -37,6 +37,21 @@ 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: rm ../Cargo.lock
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features

test:
runs-on: ubuntu-latest
strategy:
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/idea.yml
Expand Up @@ -37,6 +37,21 @@ 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: rm ../Cargo.lock
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features

test:
runs-on: ubuntu-latest
strategy:
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/kuznyechik.yml
Expand Up @@ -40,6 +40,21 @@ 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: rm ../Cargo.lock
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features

test:
runs-on: ubuntu-latest
strategy:
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/magma.yml
Expand Up @@ -37,6 +37,21 @@ 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: rm ../Cargo.lock
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features

test:
runs-on: ubuntu-latest
strategy:
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/rc2.yml
Expand Up @@ -37,6 +37,21 @@ 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: rm ../Cargo.lock
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features

test:
runs-on: ubuntu-latest
strategy:
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/serpent.yml
Expand Up @@ -37,6 +37,21 @@ 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: rm ../Cargo.lock
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features

test:
runs-on: ubuntu-latest
strategy:
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/sm4.yml
Expand Up @@ -37,6 +37,21 @@ 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: rm ../Cargo.lock
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features

test:
runs-on: ubuntu-latest
strategy:
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/threefish.yml
Expand Up @@ -37,6 +37,21 @@ 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: rm ../Cargo.lock
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features

test:
runs-on: ubuntu-latest
strategy:
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/twofish.yml
Expand Up @@ -37,6 +37,21 @@ 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: rm ../Cargo.lock
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features

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