diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef5d7233..9a2613c5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -177,6 +177,21 @@ jobs: - name: Run the tests with aws_lc_rs backend enabled run: cargo test --verbose --no-default-features --features aws_lc_rs,pem --all-targets + # Build rustls-cert-gen as a standalone package, see this PR for why it's needed: + # https://github.com/rustls/rcgen/pull/206#pullrequestreview-1816197358 + build-rustls-cert-gen-standalone: + name: Build rustls-cert-gen as a standalone package + runs-on: ubuntu-latest + steps: + - name: Checkout sources + uses: actions/checkout@v4 + with: + persist-credentials: false + - name: Install rust toolchain + uses: dtolnay/rust-toolchain@stable + - name: Run the tests + run: cargo test --package rustls-cert-gen + coverage: name: Measure coverage runs-on: ubuntu-latest diff --git a/rustls-cert-gen/Cargo.toml b/rustls-cert-gen/Cargo.toml index b330531c..ba29e89b 100644 --- a/rustls-cert-gen/Cargo.toml +++ b/rustls-cert-gen/Cargo.toml @@ -7,7 +7,7 @@ edition.workspace = true keywords.workspace = true [dependencies] -rcgen = { path = "../rcgen", default-features = false, features = ["pem"] } +rcgen = { path = "../rcgen", default-features = false, features = ["pem", "ring"] } bpaf = { version = "0.9.5", features = ["derive"] } pem = { workspace = true } ring = { workspace = true }