Aws lc rs #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cargo Build & Test | ||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
env: | ||
CARGO_TERM_COLOR: always | ||
jobs: | ||
build_and_test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
toolchain: ["stable", "beta", "nightly"] | ||
no-default: ["", "--no-default-features"] | ||
crypto: ["ring", "aws-lc-rs", "ring,aws-lc-rs", ""] | ||
tokio: ["tokio", "tokio,axum", ""] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} | ||
- run: cargo build --verbose ${{no-default}} --features ${{ matrix.crypto }},${{ matrix.tokio }} | ||
Check failure on line 24 in .github/workflows/rust.yml GitHub Actions / Cargo Build & TestInvalid workflow file
|
||
- run: cargo test --verbose ${{no-default}} --features ${{ matrix.crypto }},${{ matrix.tokio }} |