ci: Fix testing feature combinations.

- First, the autocrypt feature has been removed in
    86f599542cf808cc183f5d904773021230baee9b.

  - Second, cargo now considers it an error to give an empty string to
    --features.
This commit is contained in:
Justus Winter 2024-01-22 11:10:33 +01:00
parent 043083a789
commit 7e6d0468eb
No known key found for this signature in database
GPG Key ID: 686F55B4AB2B3386

View File

@ -76,11 +76,9 @@ sq-features:
matrix: matrix:
- FEATURES: - FEATURES:
- "" - ""
- "autocrypt" - ",compression-bzip2"
- "autocrypt,compression-bzip2"
- "compression-bzip2"
script: script:
- cargo test --no-default-features --features crypto-nettle --features $FEATURES - cargo test --no-default-features --features crypto-nettle$FEATURES
variables: variables:
CARGO_TARGET_DIR: /target CARGO_TARGET_DIR: /target
CARGO_HOME: /cargo CARGO_HOME: /cargo