Skip to content

Commit 32abfd0

Browse files
committed
ci: setup for semver checks with the sequoia backend hell
1 parent 57b3eb2 commit 32abfd0

File tree

5 files changed

+18
-0
lines changed

5 files changed

+18
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
with:
2020
preflight_install: |
2121
sudo apt install clang llvm pkg-config nettle-dev
22+
preflight_semver_exclude: csaf-cli,sbom-cli
23+
preflight_semver_feature_group: default-features
24+
preflight_semver_features: _semver
2225
matrix_include: |
2326
[
2427
{

common/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ _test = [
7575
"flate2"
7676
]
7777

78+
# enable for semver checks (in addition to default)
79+
_semver = ["_test", "sequoia-openpgp/crypto-nettle"]
80+
7881
[package.metadata.cargo-all-features]
7982
always_include_features = [
8083
"sequoia-openpgp/crypto-nettle",

csaf/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ csaf-validator-lib = [
6464
"deno_core",
6565
]
6666

67+
# enable for semver checks (in addition to default)
68+
_semver = ["csaf-validator-lib"]
69+
6770
# workaround until xattr fixes its win32 compilation issues.
6871
[target.'cfg(any(unix, macos))'.dependencies]
6972
xattr = { workspace = true }

extras/Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ _test = [
4848
"walker-common/flate2"
4949
]
5050

51+
# enable for semver checks (in addition to default)
52+
_semver = [
53+
"_crypto-nettle",
54+
"_test"
55+
]
56+
5157
clap = [
5258
"dep:clap",
5359
"walker-common/clap"

sbom/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ crypto-openssl = ["sequoia-openpgp/crypto-openssl"]
4949
crypto-botan = ["sequoia-openpgp/crypto-botan"]
5050
crypto-rust = ["sequoia-openpgp/crypto-rust"]
5151

52+
# enable for semver checks (in addition to default)
53+
_semver = []
54+
5255
[package.metadata.cargo-all-features]
5356
always_include_features = [
5457
"crypto-nettle",

0 commit comments

Comments
 (0)