Skip to content

Commit

Permalink
ci: Add windows jobs for MSRV, stable, beta, nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
nirbheek committed Apr 7, 2024
1 parent 502418f commit 2a80553
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -37,3 +37,29 @@ jobs:
cargo build --verbose
- run: |
cargo test --verbose
build windows:
name: windows ${{ matrix.rust }}
runs-on: windows
strategy:
fail-fast: false
matrix:
rust:
- 1.30.0
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: rustup component add rustfmt-preview
- name: cargo fmt --all -- --check if stable
run: |
if [ "${{ matrix.rust }}" = "stable" ]; then
cargo fmt --all -- --check
fi
- run: |
cargo build --verbose
- run: |
cargo test --verbose

0 comments on commit 2a80553

Please sign in to comment.