Skip to content

Commit

Permalink
Add some more matrix to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nyonson committed Apr 23, 2024
1 parent 974be01 commit 7c4f094
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
- beta
- nightly
# Minumum supported Rust version is 1.56.1
toolchain: [1.56.1, stable, beta, nightly]
features: [alloc, std]
steps:
- uses: actions/checkout@v3
- name: Update Toolchain
Expand All @@ -23,13 +22,20 @@ jobs:
rustup component add --toolchain ${{ matrix.toolchain }} rustfmt
rustup component add --toolchain ${{ matrix.toolchain }} clippy
rustup update ${{ matrix.toolchain }}
- name: Build
run: cargo build --all --verbose
- name: Lint
# Lint all packages (proxy, protocol) and all targets (test, etc.).
run: cargo clippy --all --all-targets
- name: Format
# Format all packages.
run: cargo fmt --all -- --check
- name: Build
# Build all packages with default features.
run: |
cargo build --all --verbose
cargo build --all --verbose --no-default-features
cargo build --all --verbose --all-features
- name: Test
# Test all packages with default features.
run: cargo test --all --verbose
- name: Check No Standard Library Support
run: |
Expand Down

0 comments on commit 7c4f094

Please sign in to comment.