Skip to content

Commit a92df3e

Browse files
Check that rustls-cert-gen can be build as a standalone package in the CI
1 parent 9a969a5 commit a92df3e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Diff for: .github/workflows/ci.yml

+15
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,21 @@ jobs:
177177
- name: Run the tests with aws_lc_rs backend enabled
178178
run: cargo test --verbose --no-default-features --features aws_lc_rs,pem --all-targets
179179

180+
# Build rustls-cert-gen as a standalone package, see this PR for why it's needed:
181+
# https://github.com/rustls/rcgen/pull/206#pullrequestreview-1816197358
182+
build-rustls-cert-gen-standalone:
183+
name: Build rustls-cert-gen as a standalone package
184+
runs-on: ubuntu-latest
185+
steps:
186+
- name: Checkout sources
187+
uses: actions/checkout@v4
188+
with:
189+
persist-credentials: false
190+
- name: Install rust toolchain
191+
uses: dtolnay/rust-toolchain@stable
192+
- name: Run the tests
193+
run: cargo test --package rustls-cert-gen
194+
180195
coverage:
181196
name: Measure coverage
182197
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)