Skip to content

Commit

Permalink
CI like Rustls
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed Jan 29, 2024
1 parent 739d40b commit 8fc75d4
Showing 1 changed file with 19 additions and 16 deletions.
35 changes: 19 additions & 16 deletions .github/workflows/fips.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,23 +60,26 @@ jobs:
rust: [ stable ]
os: [ windows-2019, windows-latest ]
steps:
- uses: actions/checkout@v3
- name: Checkout sources
uses: actions/checkout@v4
with:
submodules: 'recursive'
- uses: actions-rs/[email protected]
id: toolchain
persist-credentials: false
- name: Install ${{ matrix.rust }} toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
override: true
- uses: ilammy/setup-nasm@v1
- name: Install ninja-build tool
- name: Install NASM for aws-lc-rs on Windows
if: runner.os == 'Windows'
uses: ilammy/setup-nasm@v1

- name: Install ninja-build tool for aws-lc-fips-sys on Windows
if: runner.os == 'Windows'
uses: seanmiddleditch/gha-setup-ninja@v4
- name: Run cargo test
working-directory: ./aws-lc-rs
run: cargo test --tests
- name: Run cargo test
working-directory: ./aws-lc-rs
run: cargo test --tests --release --features fips
- name: Run cargo test
working-directory: ./aws-lc-rs
run: cargo test --tests --features fips

- name: cargo build (debug; default features)
run: cargo build --locked

- name: cargo test (release; all features)
run: cargo test --release --locked --features fips
env:
RUST_BACKTRACE: 1

0 comments on commit 8fc75d4

Please sign in to comment.