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 cfd54fe commit 9aa9377
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,28 @@ jobs:
cargo build --verbose
- run: |
cargo test --verbose
windows_build:
name: windows ${{ matrix.rust }}
runs-on: windows-latest
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
- run: |
cargo build --verbose
- name: cargo test
run: |
$ProgressPreference = 'SilentlyContinue'
Invoke-WebRequest -Uri "https://github.com/mesonbuild/cidata/raw/master/win32/pkg-config.exe" -OutFile pkg-config.exe
ls
cargo test --verbose

0 comments on commit 9aa9377

Please sign in to comment.