Skip to content

Commit c9f8b22

Browse files
authored
ed448-goldilocks: improve CI times (#1399)
Reduces the number of feature combinations tested by `cargo hack` by excluding the `bits` and `std` features
1 parent 6512020 commit c9f8b22

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/ed448-goldilocks.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,11 @@ jobs:
8989
targets: ${{ matrix.target }}
9090
- uses: RustCrypto/actions/cargo-hack-install@master
9191
- run: ${{ matrix.deps }}
92-
- run: cargo test --release --target ${{ matrix.target }} --no-default-features
93-
- run: cargo hack test --feature-powerset --target ${{ matrix.target }}
92+
- run: cargo test --target ${{ matrix.target }} --no-default-features
93+
- run: cargo hack test --feature-powerset --target ${{ matrix.target }} --exclude-features bits,std
94+
- run: cargo test --target ${{ matrix.target }} --features bits
95+
- run: cargo test --target ${{ matrix.target }} --features std
96+
- run: cargo test --target ${{ matrix.target }} --all-features
9497
- run: cargo test --release --target ${{ matrix.target }} --all-features
9598

9699
cross:

ed448-goldilocks/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ signature = { version = "3.0.0-rc.3", optional = true, default-features = false,
3131
default = ["std", "signing", "pkcs8"]
3232
alloc = ["ed448?/alloc", "elliptic-curve/alloc", "serdect?/alloc", "signature?/alloc"]
3333
std = ["alloc"]
34+
3435
bits = ["elliptic-curve/bits"]
3536
pkcs8 = ["ed448?/pkcs8", "elliptic-curve/pkcs8"]
3637
signing = ["dep:ed448", "dep:signature"]

0 commit comments

Comments
 (0)