Skip to content

Commit 43c653f

Browse files
committed
ci: Add windows jobs for MSRV, stable, beta, nightly
1 parent cfd54fe commit 43c653f

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,26 @@ jobs:
3737
cargo build --verbose
3838
- run: |
3939
cargo test --verbose
40+
windows_build:
41+
name: windows ${{ matrix.rust }}
42+
runs-on: windows-latest
43+
strategy:
44+
fail-fast: false
45+
matrix:
46+
rust:
47+
- 1.30.0
48+
- stable
49+
- beta
50+
- nightly
51+
steps:
52+
- uses: actions/checkout@v4
53+
- uses: dtolnay/rust-toolchain@master
54+
with:
55+
toolchain: ${{ matrix.rust }}
56+
- run: rustup component add rustfmt-preview
57+
- run: |
58+
cargo build --verbose
59+
- run: |
60+
$ProgressPreference = 'SilentlyContinue'
61+
Invoke-WebRequest -Uri "https://github.com/mesonbuild/cidata/raw/master/win32/pkg-config.exe" -OutFile pkg-config.exe
62+
cargo test --verbose

0 commit comments

Comments
 (0)