Skip to content

Commit

Permalink
Use cargo-careful w/ CI tests (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth authored Jan 23, 2024
1 parent c5bb144 commit 9889de0
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -645,3 +645,34 @@ jobs:
working-directory: ./aws-lc-rs
run: cargo --locked check

careful:
name: Run carefully
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-12
- macos-13-xlarge
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
lfs: true
- uses: dtolnay/rust-toolchain@nightly
id: toolchain
- name: Set Rust toolchain override
run: rustup override set ${{ steps.toolchain.outputs.name }}
- name: Install cargo-careful
run: cargo install cargo-careful
- uses: actions/setup-go@v4
with:
go-version: '>=1.18'
- name: Run tests
working-directory: ./aws-lc-rs
run: cargo +nightly careful test
- name: Run tests w/ FIPS
working-directory: ./aws-lc-rs
# Rust doc tests dislike dynamic linking
run: cargo +nightly careful test --tests --features fips,bindgen

0 comments on commit 9889de0

Please sign in to comment.