Skip to content

Commit

Permalink
ssh-key: reduce CI no_std build combos
Browse files Browse the repository at this point in the history
The combinatorial explosion of features is leading to long CI times.

This reduces the number of combinations checked to something more
manageable.
  • Loading branch information
tarcieri committed Apr 29, 2024
1 parent 3f56938 commit b48cfed
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ssh-key.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit b48cfed

Please sign in to comment.