7979 - run : cargo test --all-features
8080 env :
8181 RUSTFLAGS : -Dwarnings --cfg sha2_backend="soft"
82+ - run : cargo test --all-features
83+ env :
84+ RUSTFLAGS : -Dwarnings --cfg sha2_backend="soft-compact"
8285
8386 # macOS tests
8487 macos :
@@ -102,6 +105,9 @@ jobs:
102105 - run : cargo test --all-features
103106 env :
104107 RUSTFLAGS : -Dwarnings --cfg sha2_backend="soft"
108+ - run : cargo test --all-features
109+ env :
110+ RUSTFLAGS : -Dwarnings --cfg sha2_backend="soft-compact"
105111
106112 # Windows tests
107113 windows :
@@ -126,6 +132,9 @@ jobs:
126132 - run : cargo test --all-features
127133 env :
128134 RUSTFLAGS : -Dwarnings --cfg sha2_backend="soft"
135+ - run : cargo test --all-features
136+ env :
137+ RUSTFLAGS : -Dwarnings --cfg sha2_backend="soft-compact"
129138
130139 # Cross-compiled tests
131140 cross :
@@ -174,6 +183,9 @@ jobs:
174183 - run : cross test --package sha2 --all-features --target riscv64gc-unknown-linux-gnu
175184 env :
176185 RUSTFLAGS : -Dwarnings --cfg sha2_backend="soft" -C target-feature=+zknh,+zbkb
186+ - run : cross test --package sha2 --all-features --target riscv64gc-unknown-linux-gnu
187+ env :
188+ RUSTFLAGS : -Dwarnings --cfg sha2_backend="soft-compact" -C target-feature=+zknh,+zbkb
177189 - run : cross test --package sha2 --all-features --target riscv64gc-unknown-linux-gnu
178190 env :
179191 RUSTFLAGS : -Dwarnings --cfg sha2_backend="riscv-zknh" -C target-feature=+zknh,+zbkb
@@ -193,6 +205,9 @@ jobs:
193205 - run : cargo build --all-features --target riscv32gc-unknown-linux-gnu -Z build-std
194206 env :
195207 RUSTFLAGS : -Dwarnings --cfg sha2_backend="soft" -C target-feature=+zknh,+zbkb
208+ - run : cargo build --all-features --target riscv32gc-unknown-linux-gnu -Z build-std
209+ env :
210+ RUSTFLAGS : -Dwarnings --cfg sha2_backend="soft-compact" -C target-feature=+zknh,+zbkb
196211 - run : cargo build --all-features --target riscv32gc-unknown-linux-gnu -Z build-std
197212 env :
198213 RUSTFLAGS : -Dwarnings --cfg sha2_backend="riscv-zknh" -C target-feature=+zknh,+zbkb
0 commit comments