From b48cfed3be2f0e12f243db0c8ebec997b0df6360 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Sun, 28 Apr 2024 21:24:06 -0600 Subject: [PATCH] ssh-key: reduce CI `no_std` build combos The combinatorial explosion of features is leading to long CI times. This reduces the number of combinations checked to something more manageable. --- .github/workflows/ssh-key.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ssh-key.yml b/.github/workflows/ssh-key.yml index 397ebe1..4995d1e 100644 --- a/.github/workflows/ssh-key.yml +++ b/.github/workflows/ssh-key.yml @@ -72,7 +72,8 @@ jobs: toolchain: ${{ matrix.rust }} target: ${{ matrix.target }} - uses: RustCrypto/actions/cargo-hack-install@master - - run: cargo hack build --target ${{ matrix.target }} --feature-powerset --exclude-features crypto,default,getrandom,std --release + - run: cargo hack build --target ${{ matrix.target }} --feature-powerset --exclude-features crypto,default,dsa,ed25519,getrandom,p256,p384,p521,rsa,tdes,std --release + - run: cargo build --target ${{ matrix.target }} --features alloc,dsa,crypto,tdes --release test: runs-on: ubuntu-latest @@ -87,7 +88,7 @@ jobs: with: toolchain: ${{ matrix.rust }} - uses: RustCrypto/actions/cargo-hack-install@master - - run: cargo hack test --feature-powerset --exclude-features crypto,default,dsa,getrandom,p256,p384,p521,rsa,tdes,std --release + - run: cargo hack test --feature-powerset --exclude-features crypto,default,dsa,ed25519,getrandom,p256,p384,p521,rsa,tdes,std --release - run: cargo test --release - run: cargo test --release --features crypto - run: cargo test --release --features encryption