Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
build: [stable, msrv-linux, msrv-windows, beta, nightly, macos, windows]
build: [stable, msrv-linux, msrv-windows, beta, nightly, macos, windows, windows-sys-0.60, windows-sys-0.61]
include:
- build: stable
os: ubuntu-latest
Expand All @@ -25,6 +25,7 @@ jobs:
- build: msrv-windows
os: windows-latest
rust: 1.70.0
pin-windows-sys: '0.60.2'
- build: beta
os: ubuntu-latest
rust: beta
Expand All @@ -37,11 +38,22 @@ jobs:
- build: windows
os: windows-latest
rust: stable
pin-windows-sys: '' # test latest compatible windows-sys version
- build: windows-sys-0.61
os: windows-latest
rust: stable
pin-windows-sys: '0.61.2'
- build: windows-sys-0.60
os: windows-latest
rust: stable
pin-windows-sys: '0.60.2'
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- if: ${{ matrix.pin-windows-sys != '' }}
run: cargo update -p windows-sys --precise ${{ matrix.pin-windows-sys }}
- uses: taiki-e/install-action@cargo-hack
- name: Run tests
run: cargo hack test --feature-powerset && cargo hack test --feature-powerset --release
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ features = ["all"]
libc = "0.2.172"

[target.'cfg(windows)'.dependencies.windows-sys]
# when changing this range, adjust the CI matrix so all supported versions are tested
version = ">=0.60, <0.62"
features = [
"Win32_Foundation",
Expand Down