From 35d8c6f675ed7b39dd9e3a4f705ad2e56fa13c43 Mon Sep 17 00:00:00 2001 From: stormshield-gt <143998166+stormshield-gt@users.noreply.github.com.> Date: Fri, 12 Jan 2024 08:36:58 +0100 Subject: [PATCH] Check that rustls-cert-gen can be build as a standalone package in the CI --- .github/workflows/ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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