Remove static-openssl feature. (#1279)

This PR removes the static-openssl feature. If necessary, this features can
be invoked by selecting openssl/vendored directly.

The PR also removes building and testing with default features from the CI
workflow. The only difference between default and all features currently is
rta which is deprecated and will be removed, anyway.

This PR now also fixes a few issues in krillc config simple and the post
install scripts for Debian and RPM packages.
This commit is contained in:
Martin Hoffmann
2025-06-04 17:58:28 +02:00
committed by GitHub
parent be8d000435
commit 99e331b18e
13 changed files with 416 additions and 486 deletions
+6 -7
View File
@@ -46,11 +46,10 @@ jobs:
# Test against the oldest supported version.
# Test against beta Rust to get early warning of any problems that might occur with the upcoming Rust release.
# Order: oldest Rust to newest Rust.
rust: [1.81.0, stable, beta]
rust: [1.82.0, stable, beta]
# Test with no features, default features ("") and all except UI tests.
# Order: fewest features to most features.
args: ["--no-default-features", "", "--features all"]
# Test with no features and all features.
args: ["--no-default-features", "--all-features"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
@@ -58,7 +57,7 @@ jobs:
uses: hecrj/setup-rust-action@v1
with:
rust-version: ${{ matrix.rust }}
- if: matrix.rust == 'stable' && matrix.args == '--features all'
- if: matrix.rust == 'stable' && matrix.args == '--all-features'
run: cargo clippy ${{ matrix.args }} -- -D warnings
- run: cargo build ${{ matrix.args }} --locked
- run: cargo test ${{ matrix.args }} -- --test-threads=1 2>&1
@@ -68,7 +67,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
rust: [1.81.0, stable, beta]
rust: [1.82.0, stable, beta]
features: ["hsm", "hsm,hsm-tests-kmip"]
steps:
- name: Checkout repository
@@ -114,7 +113,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
rust: [1.81.0, stable, beta]
rust: [1.82.0, stable, beta]
features: ["hsm,hsm-tests-pkcs11"]
steps:
- name: Checkout repository
+1 -1
View File
@@ -16,7 +16,7 @@ jobs:
DOCKER_HUB_ID: ${{ secrets.DOCKER_HUB_ID }}
DOCKER_HUB_TOKEN: ${{ secrets.DOCKER_HUB_TOKEN }}
with:
cross_build_args: --features static-openssl
cross_build_args: --features openssl/vendored
cross_max_wait_mins: 20
docker_org: nlnetlabs