add CI jobs to run `cargo package`
This commit is contained in:
parent
ed91cce367
commit
c8d52a7614
|
|
@ -177,6 +177,16 @@ jobs:
|
||||||
run: cargo check --target ${{ matrix.target }} --all-targets
|
run: cargo check --target ${{ matrix.target }} --all-targets
|
||||||
name: Check tests (iOS)
|
name: Check tests (iOS)
|
||||||
|
|
||||||
|
package:
|
||||||
|
name: Test boring-sys package
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Install Rust
|
||||||
|
run: rustup update stable && rustup default stable
|
||||||
|
- name: Test boring-sys cargo package
|
||||||
|
run: cargo package -p boring-sys
|
||||||
|
|
||||||
test-fips:
|
test-fips:
|
||||||
name: Test FIPS integration
|
name: Test FIPS integration
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
@ -197,6 +207,8 @@ jobs:
|
||||||
run: ln -s clang clang++-12
|
run: ln -s clang clang++-12
|
||||||
- run: cargo test --features fips
|
- run: cargo test --features fips
|
||||||
name: Run tests
|
name: Run tests
|
||||||
|
- run: cargo package --features fips
|
||||||
|
name: Test boring-sys cargo package (FIPS)
|
||||||
|
|
||||||
test-features:
|
test-features:
|
||||||
name: Test features
|
name: Test features
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue