|
40 | 40 | toolchain: ${{ matrix.rust }} |
41 | 41 | target: ${{ matrix.target }} |
42 | 42 | override: true |
43 | | - - run: cargo build --release --target ${{ matrix.target }} --no-default-features |
44 | | - - run: cargo build --release --target ${{ matrix.target }} --no-default-features --features alloc |
45 | | - - run: cargo build --release --target ${{ matrix.target }} --no-default-features --features 3des |
46 | | - - run: cargo build --release --target ${{ matrix.target }} --no-default-features --features des-insecure |
47 | | - - run: cargo build --release --target ${{ matrix.target }} --no-default-features --features encryption |
48 | | - - run: cargo build --release --target ${{ matrix.target }} --no-default-features --features pem |
49 | | - - run: cargo build --release --target ${{ matrix.target }} --no-default-features --features pkcs5 |
50 | | - - run: cargo build --release --target ${{ matrix.target }} --no-default-features --features sha1 |
51 | | - - run: cargo build --release --target ${{ matrix.target }} --no-default-features --features subtle |
52 | | - - run: cargo build --release --target ${{ matrix.target }} --no-default-features --features zeroize |
| 43 | + - run: cargo install cargo-hack |
| 44 | + - run: cargo hack build --release --target ${{ matrix.target }} --feature-powerset --exclude-features std,rand |
53 | 45 |
|
54 | 46 | test: |
55 | 47 | runs-on: ubuntu-latest |
|
65 | 57 | profile: minimal |
66 | 58 | toolchain: ${{ matrix.rust }} |
67 | 59 | override: true |
68 | | - - run: cargo test --release --no-default-features |
69 | | - - run: cargo test --release |
70 | | - - run: cargo test --release --features alloc |
71 | | - - run: cargo test --release --features 3des |
72 | | - - run: cargo test --release --features des-insecure |
73 | | - - run: cargo test --release --features encryption |
74 | | - - run: cargo test --release --features pem |
75 | | - - run: cargo test --release --features pkcs5 |
76 | | - - run: cargo test --release --features sha1 |
77 | | - - run: cargo test --release --features std |
78 | | - - run: cargo test --release --all-features |
| 60 | + - run: cargo install cargo-hack |
| 61 | + - run: cargo hack test --release --feature-powerset |
0 commit comments