diff --git a/.github/workflows/kuznyechik.yml b/.github/workflows/kuznyechik.yml index 74a764f2..bbfe07bc 100644 --- a/.github/workflows/kuznyechik.yml +++ b/.github/workflows/kuznyechik.yml @@ -27,9 +27,6 @@ jobs: target: - thumbv7em-none-eabi - wasm32-unknown-unknown - env: - - RUSTFLAGS: "-Dwarnings" - - RUSTFLAGS: "-Dwarnings --cfg kuznyechik_force_soft" steps: - uses: actions/checkout@v1 - uses: actions-rs/toolchain@v1 @@ -39,6 +36,9 @@ jobs: target: ${{ matrix.target }} override: true - run: cargo build --target ${{ matrix.target }} + - env: + RUSTFLAGS: "-Dwarnings --cfg kuznyechik_force_soft" + run: cargo build --target ${{ matrix.target }} test: runs-on: ubuntu-latest @@ -47,9 +47,6 @@ jobs: rust: - 1.49.0 # MSRV - stable - env: - - RUSTFLAGS: "-Dwarnings" - - RUSTFLAGS: "-Dwarnings --cfg kuznyechik_force_soft" steps: - uses: actions/checkout@v1 - uses: actions-rs/toolchain@v1 @@ -59,3 +56,6 @@ jobs: profile: minimal - run: cargo test - run: cargo test --all-features + - env: + RUSTFLAGS: "-Dwarnings --cfg kuznyechik_force_soft" + run: cargo test