Skip to content

Commit

Permalink
Tweak CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov authored Aug 9, 2024
1 parent 6f7fcfc commit 650dfd2
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions .github/workflows/kuznyechik.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,24 +37,24 @@ jobs:
toolchain: ${{ matrix.rust }}
targets: ${{ matrix.target }}
- run: cargo build --target ${{ matrix.target }}
- run: cargo build --target ${{ matrix.target }}
env:
- env:
RUSTFLAGS: "-Dwarnings --cfg kuznyechik_force_soft"
- run: cargo build --target ${{ matrix.target }}
env:
run: cargo build --target ${{ matrix.target }}
- env:
RUSTFLAGS: "-Dwarnings --cfg kuznyechik_force_soft --cfg kuznyechik_compact_soft"
run: cargo build --target ${{ matrix.target }}

minimal-versions:
uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master
with:
working-directory: ${{ github.workflow }}
# macOS tests
macos:
runs-on: macos-latest

test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.65.0
- 1.65.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand All @@ -66,18 +66,22 @@ jobs:
cargo test
cargo test --all-features
- env:
RUSTFLAGS: "-Dwarnings --cfg kuznyechik_compact_soft"
RUSTFLAGS: "-Dwarnings --cfg kuznyechik_force_soft"
run: |
cargo test
cargo test --all-features
- env:
RUSTFLAGS: "-Dwarnings --cfg kuznyechik_force_soft --cfg kuznyechik_compact_soft"
run: |
cargo test
cargo test --all-features
test:
runs-on: ubuntu-latest
macos:
runs-on: macos-latest
strategy:
matrix:
rust:
- 1.65.0 # MSRV
- 1.65.0
- stable
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 650dfd2

Please sign in to comment.